[rspec-users] How do you stub out callbacks?

Rob Lacey robl at mail.pigdestroyer.co.uk
Thu Aug 14 09:53:45 EDT 2008


Hi there,

I'm trying to write a spec for and existing model. It has an 
after_create callback which I'd like to stub out. Any quick solution to 
this?

Many thanks

Rob Lacey


More information about the rspec-users mailing list