spec/mongoid/changeable_spec.rb in mongoid-5.0.2 vs spec/mongoid/changeable_spec.rb in mongoid-5.1.0

- old
+ new

@@ -938,10 +938,10 @@ [ nil, "Captain Obvious" ] ) end it "returns a hash with indifferent access" do - expect(person.changes["title"]).to eq( + expect(person.changes[:title]).to eq( [ nil, "Captain Obvious" ] ) end end