mongoid / origin

A Ruby DSL for building MongoDB queries
http://mongoid.org/en/origin/index.html
MIT License
62 stars 29 forks source link

equality on Origin::Key objects #51

Closed gerad closed 11 years ago

gerad commented 11 years ago
{ :foo.all => [1, 2] } == { :foo.all => [1, 2] } #=> false

This should be true so (for instance) mocks in tests work correctly.