Commit 0a545664 by John Hawthorn

Remove test for .destroy! in AR 4.1

We no longer have different behaviour between AR versions.
parent c117b412
......@@ -407,15 +407,6 @@ class ParanoiaTest < test_framework
assert RelatedModel.unscoped.exists?(child_2.id)
end
if ActiveRecord::VERSION::STRING < "4.1"
def test_real_destroy
model = ParanoidModel.new
model.save
model.destroy!
refute ParanoidModel.unscoped.exists?(model.id)
end
end
def test_real_delete
model = ParanoidModel.new
model.save
......
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