dchelimsky/rspec — Issue #50: as_null_object is returning nil instead of the receiver object
Author: mirelabk
Created: 2012-01-18 20:46:53+00:00
State: open

I migrated from rspec 2.6 to 2.8 (and rcpec-rails 2.8.1). All the tests were passing on 2.6, but on 2.8 I have following issue:
contact = mock_model(Contact).as_null_object
contact.first_name is returning nil instead of the contact object, as it was in the 2.6.

Thanks,
Mirela