[rspec-users] Observer not calling inside a spec

Mikel Lindsaar raasdnil at gmail.com
Wed Nov 26 06:27:40 EST 2008

On Wed, Nov 26, 2008 at 10:10 PM, Mikel Lindsaar <raasdnil at gmail.com> wrote:

> Am I missing a load path somewhere?

OK, I've ruled this out. I did:

class PersonObserver < ActiveRecord::Observer


$ ruby spec/observers/person_observer.rb

Throws an exception as expected... so load path is fine.


Rails, RSpec and Life blog....
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20081126/a592eb02/attachment.html>

More information about the rspec-users mailing list