Commit 9c14b860 by Ryan Bigg

Merge pull request #136 from mjording/rails4

Update paranoia_test.rb
parents 566b1cbd ab9654a1
......@@ -420,9 +420,8 @@ class ParanoiaTest < test_framework
assert_equal false, hasOne.reload.deleted_at.nil?
# Does it raise NoMethodException on restore of nil
assert_nothing_raised do
hasOne.restore(:recursive => true)
end
hasOne.restore(:recursive => true)
assert hasOne.reload.deleted_at.nil?
end
......
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