RubyGems.org

Extension to rspec-rails that allows some shortcuts in routing tests. With it, this: describe "users routes" do describe "GET /" do it{{:get => '/'}.should route_to "users#index"} end describe "POST /" do it{{:post => '/'}.should be_routable} end end can be written like this: describe "users routes" do get('/').should route_to "users#index" post('/').should be_routable end

installgem install rspec-rails-extra-routing
Authors

Hugo Roque (a.k.a HugoLnx)

1,935 total downloads 1,043 for this version
Owners

Edc49c0f3c5b5e50e7e2c8ade6d3d21b

Gemfile
gem 'rspec-rails-extra-routing', '~> 0.1.0'
Versions
  1. 0.1.0 April 5, 2011 (8 KB)
  2. 0.0.6 April 5, 2011 (8 KB)
Show all versions (7 total)
Runtime Dependencies
  1. rspec-rails >= 2.5.0