Commit 563c6cbb by Martin Sereinig Committed by Ryan Bigg

as of rails 4.0.4, touch fires after_commit callback - fixed test.

Fixes #143
parent ef47606e
......@@ -99,7 +99,7 @@ class ParanoiaTest < test_framework
assert_equal nil, model.instance_variable_get(:@validate_called)
assert_equal nil, model.instance_variable_get(:@destroy_callback_called)
assert_equal nil, model.instance_variable_get(:@after_destroy_callback_called)
assert_equal nil, model.instance_variable_get(:@after_commit_callback_called)
assert model.instance_variable_get(:@after_commit_callback_called)
end
def test_destroy_behavior_for_paranoid_models
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment