diff options
author | Zachary Scott <e@zzak.io> | 2014-09-21 12:51:57 +0900 |
---|---|---|
committer | Zachary Scott <e@zzak.io> | 2014-09-21 12:51:57 +0900 |
commit | cdbb20618669055c6bbed6c414e467e579681231 (patch) | |
tree | 0aa82e0a409886c0efeb764d09c4bcce3c4be2aa | |
parent | 5f8c1b197d2ccece0e08baba84cca9bca44c9750 (diff) | |
parent | 38d6697aff77c9e6844a1fd320ec108753e61f51 (diff) | |
download | rails-cdbb20618669055c6bbed6c414e467e579681231.tar.gz rails-cdbb20618669055c6bbed6c414e467e579681231.tar.bz2 rails-cdbb20618669055c6bbed6c414e467e579681231.zip |
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
-rw-r--r-- | activerecord/test/cases/attribute_methods_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/attribute_methods_test.rb b/activerecord/test/cases/attribute_methods_test.rb index 153f870e3d..b42cc3a173 100644 --- a/activerecord/test/cases/attribute_methods_test.rb +++ b/activerecord/test/cases/attribute_methods_test.rb @@ -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") } |