David Chelimsky wrote: > On Mon, Aug 11, 2008 at 1:31 PM, Craig Demyanovich > <[EMAIL PROTECTED]> wrote: >> Looks like this line >> >> Product.stub(!find_all_by_category_id).with(anything()).and_return([product]) >> >> might be the culprit. It should be stub!(find... instead of stub(!find.... > > Actually, stub!(:find....
Sorry that was a typo Its actually stub! in my code -- Posted via http://www.ruby-forum.com/. _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users