rubocop noise: introduced and resolved rails specific cop
http://rubocop.readthedocs.io/en/latest/cops/#rails
This commit is contained in:
@ -8,7 +8,7 @@ class CandidateQuizQuestionTest < ActiveSupport::TestCase
|
||||
"input_options" => %w(one two three).to_yaml,
|
||||
"answer" => { test: 1, foo: 'bar', cheer: 'huzzah!' }.to_yaml,
|
||||
"saved" => false, "submitted" => true,
|
||||
"updated_at" => DateTime.parse('20160816') }
|
||||
"updated_at" => DateTime.parse('20160816').in_time_zone }
|
||||
end
|
||||
|
||||
test "propper dot attributes work" do
|
||||
@ -22,7 +22,7 @@ class CandidateQuizQuestionTest < ActiveSupport::TestCase
|
||||
assert_equal 'text', question.input_type
|
||||
assert_equal false, question.saved
|
||||
assert_equal true, question.submitted
|
||||
assert_equal DateTime.parse('20160816'), question.updated_at
|
||||
assert_equal DateTime.parse('20160816').in_time_zone, question.updated_at
|
||||
end
|
||||
|
||||
test 'should handle array of input options' do
|
||||
|
Reference in New Issue
Block a user