On 26 Oct 2007, at 12:56, Ashley Moran wrote: > @foo.should_receive(:update_attributes!).with(params > [:foo]).and_raise(RecordNotSaved)
Sorry, RecordInvalid.new in your case, not RecordNotSaved (with or without the new) -- blog @ http://aviewfromafar.net/ linked-in @ http://www.linkedin.com/in/ashleymoran currently @ work _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users