title: Rspec redirect_to routes are failing expectations (or misparsed?), how come?
body: <p>It seems my rspec route for :controller => 'phones', :action => 'edit' works...it should be 'phones/123/edit', and IS according to rspec tests and rake routes. But when I create a redirect_to expectation, the expectation fails. </p>
  
  <p>Here's the routes test for the url:</p>
  
  <pre><code>    it "maps #edit" do
        route_for(:controller =&gt; "phones", :action =&gt; "edit", :id =&gt; "1").should == "/phones/1/edit"
      end #THIS TEST PASSES
  </code></pre>
  
  <p>Here's the expectation that fails:</p>
  
  <pre><code>    put :update, :id =&gt; "1", :phone =&gt; {}
      response.should redirect_to :controller =&gt; 'phones', :action =&gt; 'edit'
  </code></pre>
  
  <p>And this is the message I get in the tests:</p>
  
  <pre><code>expected redirect to {:controller=&gt;"phones", :action=&gt;"edit"},
  got redirect to "http://test.host/phones/1089/edit" # BUT THIS THE URL I WAS EXPECTING!
  </code></pre>
  
  <p>What the schiznits?</p>