I&#39;m new to rspec (and coding in general) but would it break a lot of people&#39;s tests if redirect_to was changed to do this by default?&nbsp; It&#39;s what i expected it to do, personally, that is to pass if the given :action and :controller match up.&nbsp; If i pass a url string, and it&#39;s missing the params, then it seems fair that it should fail, but if for example i just specify a controller, and that controller is called (with any action) i&#39;d expect it to pass as well.<br>
<br>Like i say i&#39;m a newb with no idea of the impact of this to existing tests :)<br><br><div><span class="gmail_quote">On 14/02/2008, <b class="gmail_sendername">Rick DeNatale</b> &lt;<a href="mailto:rick.denatale@gmail.com">rick.denatale@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 2/14/08, David Chelimsky &lt;<a href="mailto:dchelimsky@gmail.com">dchelimsky@gmail.com</a>&gt; wrote:<br> &gt; On Thu, Feb 14, 2008 at 9:48 AM, Rick DeNatale &lt;<a href="mailto:rick.denatale@gmail.com">rick.denatale@gmail.com</a>&gt; wrote:<br>
 &gt;&nbsp;&nbsp;&gt; On 2/14/08, David Chelimsky &lt;<a href="mailto:dchelimsky@gmail.com">dchelimsky@gmail.com</a>&gt; wrote:<br> &gt;&nbsp;&nbsp;&gt;&nbsp;&nbsp;&gt; On Thu, Feb 14, 2008 at 8:22 AM, Rick DeNatale &lt;<a href="mailto:rick.denatale@gmail.com">rick.denatale@gmail.com</a>&gt; wrote:<br>
 <br>&gt;&nbsp;&nbsp;&gt;&nbsp;&nbsp;&gt;&nbsp;&nbsp;I don&#39;t have the cycles to add this anytime soon, so if you like the<br> &gt;&nbsp;&nbsp;&gt;&nbsp;&nbsp;&gt;&nbsp;&nbsp;idea, feel free to submit a patch to the tracker.<br> &gt;&nbsp;&nbsp;&gt;<br> &gt;&nbsp;&nbsp;&gt;&nbsp;&nbsp;I&#39;d be happy to do that, although I&#39;m not entirely convinced that<br>
 &gt;&nbsp;&nbsp;&gt;&nbsp;&nbsp;redirect_with is the right name, not that I&#39;ve got a better<br> &gt;&nbsp;&nbsp;&gt;&nbsp;&nbsp;alternative.<br> &gt;<br> &gt;<br> &gt; redirect_with_options?<br> <br> <br>I think I like that.<br> <br><br> <br> &gt;&nbsp;&nbsp;How about something added to the existing call?<br>
 &gt;<br> &gt;&nbsp;&nbsp;response.should redirect_to(:controller =&gt; &#39;foo&#39;, :action =&gt;<br> &gt;&nbsp;&nbsp;&#39;bar&#39;).ignoring_other_options<br> <br> <br>This seems too wordy.<br> <br><br> <br> --<br> <br>Rick DeNatale<br> <br>
 My blog on Ruby<br> <a href="http://talklikeaduck.denhaven2.com/">http://talklikeaduck.denhaven2.com/</a><br> _______________________________________________<br> rspec-users mailing list<br> <a href="mailto:rspec-users@rubyforge.org">rspec-users@rubyforge.org</a><br>
 <a href="http://rubyforge.org/mailman/listinfo/rspec-users">http://rubyforge.org/mailman/listinfo/rspec-users</a><br> </blockquote></div><br>