DEV: Apply syntax_tree formatting to spec/*

This commit is contained in:
David Taylor
2023-01-09 11:18:21 +00:00
parent 0cf6421716
commit cb932d6ee1
907 changed files with 58693 additions and 45909 deletions

View File

@@ -1,17 +1,17 @@
# frozen_string_literal: true
RSpec.describe DigestEmailSiteSetting do
describe 'valid_value?' do
it 'returns true for a valid value as an int' do
describe "valid_value?" do
it "returns true for a valid value as an int" do
expect(DigestEmailSiteSetting.valid_value?(1440)).to eq true
end
it 'returns true for a valid value as a string' do
expect(DigestEmailSiteSetting.valid_value?('1440')).to eq true
it "returns true for a valid value as a string" do
expect(DigestEmailSiteSetting.valid_value?("1440")).to eq true
end
it 'returns false for an invalid value' do
expect(DigestEmailSiteSetting.valid_value?('7 dogs')).to eq false
it "returns false for an invalid value" do
expect(DigestEmailSiteSetting.valid_value?("7 dogs")).to eq false
end
end
end