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

Required Ruby Version

None

Authors

Hugo Roque (a.k.a HugoLnx)

Versions

  1. 0.1.0 April 05, 2011 (8 KB)
  2. 0.0.6 April 05, 2011 (8 KB)
Show all versions (7 total)

SHA 256 checksum