[rspec-users] params are making my "should redirect_to" test fail - why??

Rick DeNatale rick.denatale at gmail.com
Thu Feb 14 10:07:38 EST 2008


On 2/14/08, David Chelimsky <dchelimsky at gmail.com> wrote:
> On Thu, Feb 14, 2008 at 9:48 AM, Rick DeNatale <rick.denatale at gmail.com> wrote:
>  > On 2/14/08, David Chelimsky <dchelimsky at gmail.com> wrote:
>  >  > On Thu, Feb 14, 2008 at 8:22 AM, Rick DeNatale <rick.denatale at gmail.com> wrote:
>  >  >  I don't have the cycles to add this anytime soon, so if you like the
>  >  >  idea, feel free to submit a patch to the tracker.
>  >
>  >  I'd be happy to do that, although I'm not entirely convinced that
>  >  redirect_with is the right name, not that I've got a better
>  >  alternative.
>
>
> redirect_with_options?

I think I like that.


>  How about something added to the existing call?
>
>  response.should redirect_to(:controller => 'foo', :action =>
>  'bar').ignoring_other_options

This seems too wordy.


-- 
Rick DeNatale

My blog on Ruby
http://talklikeaduck.denhaven2.com/


More information about the rspec-users mailing list