On Wed, Jan 13, 2010 at 10:20 AM, Nick Hoffman <li...@ruby-forum.com> wrote:
> David Chelimsky wrote: > > On Tue, Jan 12, 2010 at 11:35 AM, Nick Hoffman <li...@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! Thank Randy Harmon for this one. It was he who recognized and solved the problems with params_from by adding the route_to matcher. > And thanks again for all of your sweat > and blood with RSpec and RSpec-Rails! > It's a labor of love, but you're welcome :)
_______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users