> I see two examples with identical code. Do they both fail, or just the
> 2nd one? If so, there was a bug in which mocked inherited class
> methods were not properly restored after the example. This is fixed in
> git, but not released.
>
> Would you mind building the gem from the latest and see if it resolves
Sorry David, stupid typo. I am duplicating the text from another screen
that is not on the 'net directly. The second spec does not exist.
#spec/observers/person_observer_spec.rb
describe PersonObserver do
it "should call the observer"
person = Person.generate
Note.should_receive(:update_associated)
person.save
end
end
I'll get the git version anyway and try it out.
--
http://lindsaar.net/
Rails, RSpec and Life blog....
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users