On Fri, Dec 5, 2008 at 7:58 AM, Newman Huang <[EMAIL PROTECTED]> wrote: > > try: > > [EMAIL PROTECTED] = User.find(params[:user_id]) > User.stub(:find).with(xx).and_return(@user)
Please quote enough of the email to which you are responding to provide enough context so that those of us who read email on our phones can understand. Cheers, David _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users