Uploaded image for project: 'Mongoid'
  1. Mongoid
  2. MONGOID-2449

equality on Origin::Key objects

    • Type: Icon: Task Task
    • Resolution: Done
    • 3.0.10
    • Affects Version/s: None
    • Component/s: None
    • None

      { :foo.all => [1, 2] } == { :foo.all => [1, 2] } #=> false
      

      This returns false on master and true on 2.x. We use the equality check to ensure our mocks were correctly called in specs.

            Assignee:
            Unassigned Unassigned
            Reporter:
            gerad Gerad Suyderhoud
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: