Skip to content

Commit

Permalink
Merge pull request rails#4950 from ask4prasath/text_changes
Browse files Browse the repository at this point in the history
Test title changed corresponding to the test
  • Loading branch information
vijaydev committed Feb 8, 2012
2 parents 6bb04c1 + 848ee29 commit d1abb8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activemodel/test/cases/errors_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def test_has_key?
assert_equal ["name can not be blank", "name can not be nil"], person.errors.to_a
end

test 'to_hash should return an ordered hash' do
test 'to_hash should return a hash' do
person = Person.new
person.errors.add(:name, "can not be blank")
assert_instance_of ::Hash, person.errors.to_hash
Expand Down

0 comments on commit d1abb8b

Please sign in to comment.