On Wed, Nov 26, 2008 at 4:32 AM, Mikel Lindsaar <[EMAIL PROTECTED]> wrote: > >> 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.
Feel free, but now that I know there is only one example, I doubt that it will solve your problem. But who knows? Couldn't hurt to try :) _______________________________________________ rspec-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/rspec-users
