[rspec-users] Rspec not testing my callback
dchelimsky at gmail.com
Mon Nov 15 09:39:54 EST 2010
On Mon, Nov 15, 2010 at 8:05 AM, Andrew Davis <lists at ruby-forum.com> wrote:
> Hello everyone,
> I have a "before_save" at the top of my model, and it is being used
> correctly. However, when testing with RSpec/Rcov, my callback method is
> not being tested. Is there something specific I need to be doing?
Can't tell what you're doing at all if you don't post some code.
Please do so. Need to see the spec that's not doing what you think it
should be doing, the implementation of the action invoked by that
spec, and the before filter.
More information about the rspec-users