Merge pull request #16994 from yuki24/fix-typo-in-ar-attribute-method-test

[ci skip] Fix typo in activerecord/test/cases/attribute_methods_test.rb:737
This commit is contained in:
Zachary Scott 2014-09-21 12:51:57 +09:00
commit cdbb206186
1 changed files with 1 additions and 1 deletions

View File

@ -734,7 +734,7 @@ class AttributeMethodsTest < ActiveRecord::TestCase
assert_raise(ActiveRecord::UnknownAttributeError) { @target.new.attributes = { :title => "Ants in pants" } }
end
def test_bulk_update_raise_unknown_attribute_errro
def test_bulk_update_raise_unknown_attribute_error
error = assert_raises(ActiveRecord::UnknownAttributeError) {
@target.new(:hello => "world")
}