On Sat, Jan 28, 2012 at 8:14 AM, Larry <i...@stupidtuesday.com> wrote: > I have a bunch of specs that ran fine using rspec-rails-2.8.1 and > Rails 3.1.3, but when I upgraded to Rails 3.2.1 the following line > choked for the following reason (which I believe is the same problem > that occurred with "stub_model"): > > Code: > act.stub(:update_attributes).and_raise(ActiveRecord::StaleObjectError) > > Error: ArgumentError: wrong number of arguments (0 for 2)
Please run with the --backtrace flag and post the backtrace so we can see where that error is coming from. _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users