Commit 1b45bbc8 by delba

access where_values_hash via string

parent c9ac0237
......@@ -103,7 +103,7 @@ class ParanoiaTest < Test::Unit::TestCase
# 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 "foo", scope.where_values_hash['name']
assert_equal 2, scope.where_values.count
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