Commit fc4cec00 by John Hawthorn

Drop assertion on where_values

It is unnecessary to test the AR internals here. Testing the
where_values_hash should be sufficient.
parent bbbe8aa7
......@@ -292,8 +292,7 @@ class ParanoiaTest < test_framework
# Regression test for #24
def test_chaining_for_paranoid_models
scope = FeaturefulModel.where(:name => "foo").only_deleted
assert_equal "foo", scope.where_values_hash['name']
assert_equal 2, scope.where_values.count
assert_equal({'name' => "foo"}, scope.where_values_hash)
end
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