Commit 8bb21c68 by Ryan Bigg

Add failing test for #37

parent cb018cc3
...@@ -185,6 +185,7 @@ class ParanoiaTest < Test::Unit::TestCase ...@@ -185,6 +185,7 @@ class ParanoiaTest < Test::Unit::TestCase
model = ParanoidModel.only_deleted.find(id) model = ParanoidModel.only_deleted.find(id)
model.restore! model.restore!
model.reload
assert_equal false, model.destroyed? assert_equal false, model.destroyed?
end 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