Thanks for your answers, David. I&#39;ll investigate. It&#39;s still a bit hard for me to understand where are the boundaries between rails tests and rspec.<br><br>Cheers,<br><br>David<br><br><div><span class="gmail_quote">
On 7/2/07, <b class="gmail_sendername">David Chelimsky</b> &lt;<a href="mailto:dchelimsky@gmail.com">dchelimsky@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 7/2/07, David Leal &lt;<a href="mailto:dgleal@gmail.com">dgleal@gmail.com</a>&gt; wrote:<br>&gt; Hi David, thanks for your reply.<br>&gt;<br>&gt; Regarding the last topic below, there&#39;s something about which I&#39;m not quite
<br>&gt; clear:<br>&gt;<br>&gt; The catchall method that I&#39;m trying to test works by getting a path from the<br>&gt; request object passed to it (during testing it&#39;s a TestRequest object). If I<br>&gt; understand correctly, there is no way to test this method without writing an
<br>&gt; integration test. But shouldn&#39;t the request object honor the path I&#39;ve set<br>&gt; instead of resetting it?<br><br>I&#39;ve never tried to do what you&#39;re doing so I can&#39;t answer from<br>experience. What I can tell you is that the TestRequest object is part
<br>of Rails, not rspec, so you might have some good luck on the rails<br>forums and mailing lists.<br></blockquote></div><br>