Getting a strange error. In a story I have the following step: When "I submit a search name" do xhr :post, '/searches', {:search => {:given_name => "bob", :family_name => "smith"}} end
I am getting: ArgumentError: wrong number of arguments (4 for 3) stories/searching_story_spec.rb:45 in "I submit a search name" But I only have 3 arguments in the above list, a symbol, a string and a hash. No exception comes up in the test.log I am on Rspec trunk from a couple of days ago and Rails 2.1. Any ideas? Mikel
_______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users