mongoid/mongoid — Issue #1690: regression in referenced/MTM/#= in master
Author: fwoeck
Created: 2012-02-09 07:00:35+00:00
State: open

Hi guys, this spec fails in the latest master:

```
describe "#=" do

context "when the relation is set without persistence" do

let(:person) do
Person.new
end

let(:preference) do
Preference.create(:name => "one")
end

before do
person.preferences = [ preference ]
person.save
person.preferences = []
end

it "should not modify the dabatase" do
person.reload.preferences.should eq([ preference ])
end
end
end
```

with
```
expected: [#