Looks like it’s expecting just a single argument to route_to, but I see
examples all over the place with two arguments. I’m running Rails 3.1rc1
and just updates rspec to 2.6.1 this morning.
Looks like it’s expecting just a single argument to route_to, but I see examples
all over the place with two arguments. I’m running Rails 3.1rc1 and just updates
rspec to 2.6.1 this morning.
Any thoughts much appreciated!
This is just a matter of getting accustomed to Ruby syntax. The goal
here is to submit a hash as an argument to the route_to method. Here’s
the most explicit way to do it: