Commit 3fef29a0 by Ryan Bigg

Use correct syntax in regression test for #24

parent e56ad2dc
...@@ -105,7 +105,7 @@ class ParanoiaTest < Test::Unit::TestCase ...@@ -105,7 +105,7 @@ class ParanoiaTest < Test::Unit::TestCase
# Regression test for #24 # Regression test for #24
def test_chaining_for_paranoid_models def test_chaining_for_paranoid_models
scope = FeaturefulModel.where(:name => "foo").only_deleted scope = FeaturefulModel.where(:name => "foo").only_deleted
scope.where_values.count.should == 2 assert_equal 2, scope.where_values.count
end end
def test_only_destroyed_scope_for_paranoid_models def test_only_destroyed_scope_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