Commit ab9654a1 by Matthew Jording

Update paranoia_test.rb

Removed deprecated assert_nothing_raised from test.
parent d6574439
......@@ -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