Check this out:
it "should not be this tough" do
was = obj.association_id
expect(obj.association_id).to eq 1
obj.association_id = 2 * was
expect(obj.association_id).to eq 2
expect(obj.association_id_changed?).to be_true
expect(obj.association_id_was).to be_present
end
The last expectation fails. Why is that? If I go through the same steps in the console it works as I expect.