[rspec-users] [Cucumber, Rails] Testing arbitrary post action parameters

James Byrne lists at ruby-forum.com
Sun Jan 18 00:02:05 EST 2009

James Byrne wrote:
  It seems that the first parameter to _put_ must be a hash.

Which is completely wrong of course, the first argument to _put_ must be 
a path.  I confused the argument to the named route method with that of 
the put method.  It is the argument to the named route that must be a 
hash as far as I can determine from experimentation.
Posted via http://www.ruby-forum.com/.

More information about the rspec-users mailing list