aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/callbacks_test.rb
diff options
context:
space:
mode:
authorJamis Buck <jamis@37signals.com>2005-06-21 12:58:27 +0000
committerJamis Buck <jamis@37signals.com>2005-06-21 12:58:27 +0000
commit361be5a7dd1d70e55d6b003b987794e94b2f9c1e (patch)
tree5749b77591749af6a12c3a133ce8db11ad04cadb /activerecord/test/callbacks_test.rb
parentc88ce046621b77e6d39ae60edd4996066414801a (diff)
downloadrails-361be5a7dd1d70e55d6b003b987794e94b2f9c1e.tar.gz
rails-361be5a7dd1d70e55d6b003b987794e94b2f9c1e.tar.bz2
rails-361be5a7dd1d70e55d6b003b987794e94b2f9c1e.zip
Removed the AR::Recursion module--it broke more code than it fixed
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1470 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/test/callbacks_test.rb')
-rw-r--r--activerecord/test/callbacks_test.rb14
1 files changed, 0 insertions, 14 deletions
diff --git a/activerecord/test/callbacks_test.rb b/activerecord/test/callbacks_test.rb
index 2e3bf54a86..d915b3a875 100644
--- a/activerecord/test/callbacks_test.rb
+++ b/activerecord/test/callbacks_test.rb
@@ -304,18 +304,4 @@ class CallbacksTest < Test::Unit::TestCase
[ :before_validation, :returning_false ]
], david.history
end
-
- def test_save_not_called_recursively
- david = RecursiveCallbackDeveloper.find(1)
- david.save
- assert_equal 1, david.on_before_save_called
- assert_equal 1, david.on_after_save_called
- end
-
- def test_save_bang_not_called_recursively
- david = RecursiveCallbackDeveloper.find(1)
- david.save!
- assert_equal 1, david.on_before_save_called
- assert_equal 1, david.on_after_save_called
- end
end