aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/autosave_association_test.rb
diff options
context:
space:
mode:
authorBrian Durand <brian@embellishedvisions.com>2010-06-18 16:59:33 -0500
committerJeremy Kemper <jeremy@bitsweat.net>2010-06-18 15:11:17 -0700
commit237165feb3e5f7b117b05353bd64d756b9f18f74 (patch)
treef2da9c8c97555e849fe2978fb4a35e99f5b17513 /activerecord/test/cases/autosave_association_test.rb
parenta186431414de8a0f0db9f60254f421a3536cee12 (diff)
downloadrails-237165feb3e5f7b117b05353bd64d756b9f18f74.tar.gz
rails-237165feb3e5f7b117b05353bd64d756b9f18f74.tar.bz2
rails-237165feb3e5f7b117b05353bd64d756b9f18f74.zip
Fix bug with rolling back frozen attributes.
[#2991] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Diffstat (limited to 'activerecord/test/cases/autosave_association_test.rb')
-rw-r--r--activerecord/test/cases/autosave_association_test.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/activerecord/test/cases/autosave_association_test.rb b/activerecord/test/cases/autosave_association_test.rb
index 4e4f9c385c..3b89c12a3f 100644
--- a/activerecord/test/cases/autosave_association_test.rb
+++ b/activerecord/test/cases/autosave_association_test.rb
@@ -712,7 +712,6 @@ class TestDestroyAsPartOfAutosaveAssociation < ActiveRecord::TestCase
end
assert_raise(RuntimeError) { assert !@pirate.save }
- assert before.first.frozen? # the first child was indeed destroyed
assert_equal before, @pirate.reload.send(association_name)
end