Hi everyone, <br><br>I&#39;m new to rails and also to rspec, but I tried to do my homework. To answer my questions, I searched this list&#39;s archives, the Rails API, and Google, to no avail. Therefor, I&#39;d be grateful if someone could point me in the right directions:
<br><br>1) There doesn&#39;t seem to be a counterpart to assert_recognizes in rspec. route_for() won&#39;t work with route globbing (or will it?) So, how do I test route globbing?<br clear="all"><br>2) Still using route globbing, if I do 
<br><br>get &#39;/something/somewhere&#39; <br><br>rspec will complain that it couldn&#39;t find an action for &#39;/something/somewhere&#39;. I suppose this is the correct behaviour, since we&#39;re testing the controller, and not routing. However, since the controller action is a catchall, I must pass a path to it, or it won&#39;t know what to do. If I try to specify the path using 
<br><br>request.path = &#39;/something/somewhere&#39; <br>get &#39;my_action_name&#39;<br><br>the path comes out as &#39;/&#39;.<br><br>Can anyone instruct me on how to do this correctly?<br><br>Cheers,<br><br>-- <br>David Leal
<br><br>