[rspec-users] Troubles with route_for
Nick Hoffman
lists at ruby-forum.com
Wed Jan 13 11:20:27 EST 2010
David Chelimsky wrote:
> On Tue, Jan 12, 2010 at 11:35 AM, Nick Hoffman <lists at ruby-forum.com>
> wrote:
>
>> By the way, does this spec:
>> {:get => '/path'}.should route_to(...)
>> make this spec redundant?:
>> params_from(:get, '/path').should == {...}
>>
>
> Yes - route_to checks both sides of the translation.
Great, thanks for that, David! And thanks again for all of your sweat
and blood with RSpec and RSpec-Rails!
--
Posted via http://www.ruby-forum.com/.
More information about the rspec-users
mailing list