test/indices.rb in ohm-3.0.3 vs test/indices.rb in ohm-3.1.0
- old
+ new
@@ -49,10 +49,10 @@
assert ex.message == "You need to supply a hash with filters. If you want to find by ID, use User[id] instead."
end
end
test "avoid intersections with the all collection" do
- assert_equal "User:indices:email:foo", User.find(:email => "foo").key
+ assert_equal "User:indices:email:foo", User.find(:email => "foo").key.to_s
end
test "allow multiple chained finds" do
assert 1 == User.find(:email => "foo").find(:activation_code => "bar").find(:update => "baz").size
end