diff options
author | Eloy Duran <eloy.de.enige@gmail.com> | 2010-01-02 14:59:29 +0100 |
---|---|---|
committer | Eloy Duran <eloy.de.enige@gmail.com> | 2010-01-07 13:19:48 +0100 |
commit | fc6aae34597bbecaf441571b20ab861b021ea8a5 (patch) | |
tree | 6490217d5f1dd26cd64fe2bcca28ed1337148b14 /activerecord/test | |
parent | a559260e41170397ec940321f12853ccdb440993 (diff) | |
download | rails-fc6aae34597bbecaf441571b20ab861b021ea8a5.tar.gz rails-fc6aae34597bbecaf441571b20ab861b021ea8a5.tar.bz2 rails-fc6aae34597bbecaf441571b20ab861b021ea8a5.zip |
Remove deprecated '_delete' option from NestedAttributes.
Diffstat (limited to 'activerecord/test')
-rw-r--r-- | activerecord/test/cases/nested_attributes_test.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/activerecord/test/cases/nested_attributes_test.rb b/activerecord/test/cases/nested_attributes_test.rb index 1d9b734b02..a5e2fa96f2 100644 --- a/activerecord/test/cases/nested_attributes_test.rb +++ b/activerecord/test/cases/nested_attributes_test.rb @@ -82,12 +82,6 @@ class TestNestedAttributesInGeneral < ActiveRecord::TestCase assert ship._destroy end - def test_underscore_delete_is_deprecated - ActiveSupport::Deprecation.expects(:warn) - ship = Ship.create!(:name => 'Nights Dirty Lightning') - ship._delete - end - def test_reject_if_method_without_arguments Pirate.accepts_nested_attributes_for :ship, :reject_if => :new_record? |