[rspec-users] Can I stub a method on a belongs_to association:

Pat Maddox pergesu at gmail.com
Tue Jun 26 20:26:57 EDT 2007

On 6/26/07, Courtenay <court3nay at gmail.com> wrote:
> On 6/26/07, Pat Maddox <pergesu at gmail.com> wrote:
> > I don't really want to stub too much since this is kind of an
> > integration test at the model level.  I also can't check the expected
> > outcome of the hook method because it makes a network call.
> What is the actual error?
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users

NameError in 'Asset when destroyed should call the delete hook'
undefined method `hook' for class

More information about the rspec-users mailing list