On Mar 26, 2011, at 12:36 PM, Huw Nichols <huw.nich...@gmail.com> wrote:

> Hi,
> 
> Just been looking for answers to this very question:
> 
> I have a User model (using devise) and the same problem.
> 
> Both the before_create and after_create callbacks fail to run from within 
> Rspec2
> 
> I can even put invalid code in the callbacks and it is not detected until I 
> switch to dev and run through the browser - then it all works as expected.
> 
> rails 3.0.5 and sqlite
> rspec (2.5.0)
> rspec-core (2.5.1)
> rspec-expectations (2.5.0)
> rspec-mocks (2.5.0)
> rspec-rails (2.5.0) 
> 
> Has anyone had any thoughts on this as yet ?
> 
> Thanks
> 
> H
> _______________________________________________
> rspec-users mailing list
> rspec-users@rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users


Got code?
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to