[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
raise
....
end
$ ruby spec/observers/person_observer.rb
Throws an exception as expected... so load path is fine.
Mikel
--
http://lindsaar.net/
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