title: Do routing specs support redirect routes? [RSpec]
body: <p>After digging fairly deeply on this issue, I've come to an impasse between my understanding of the documentation and my results.</p>
  
  <p>According to <a href="https://www.relishapp.com/rspec/rspec-rails/v/2-8/docs/routing-specs/route-to-matcher">https://www.relishapp.com/rspec/rspec-rails/v/2-8/docs/routing-specs/route-to-matcher</a>, we should be able to write the following:</p>
  
  <pre><code>#rspec-rails (2.8.1)
  #rspec (&gt;= 1.3.1)
  #rspec-core (~&gt; 2.8.0)
  
  # routing spec
  require "spec_helper"
  
  describe BusinessUsersController do
    describe "routing" do
      it "routes to some external url" do
        get("/business_users/7/external_url").should route_to("http://www.google.com")
      end
    end
  end
  
  # routes.rb
  BizeebeeBilling::Application.routes.draw do
  
    resources :business_users do
      member do
        get "external_url" =&gt; redirect("http://www.google.com")
      end
    end
  end
  </code></pre>
  
  <p>Running this spec produces the following results:
      Failures:</p>
  
  <pre><code>  1) BusinessUsersController routing routes to some external url
       Failure/Error: assert_routing "/business_users/7/external_url", "http://www.google.com"
       ActionController::RoutingError:
         No route matches "/business_users/7/external_url"
       # ./spec/routing/business_users_routing_spec.rb:19:in `block (3 levels) in &lt;top (required)&gt;'
  </code></pre>
  
  <p>I have not been able to find anyone reporting this specific issue anywhere.</p>
  
  <p>Added detail: the route is resolved perfectly well when testing manually.</p>