thoughtbot/shoulda-matchers — pull request #369 by maurogeorge (2013-10-15 22:22:27+00:00)
Title: Route accept string

Add to the route matcher the possibility to pass a string like:

```ruby
it { should route(:get, '/posts').to('posts#index') }
```

like in the [rspec-rails](https://www.relishapp.com/rspec/rspec-rails/v/2-14/docs/routing-specs/route-to-matcher).