Categories: None [Edit]

rspec-rails-extra-routing

https://rubygems.org/gems/rspec-rails-extra-routing
https://github.com/HugoLnx/rspec-rails-extra-routing
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

Total

Ranking: 104,750 of 196,672
Downloads: 8,012

Daily

Ranking: 58,925 of 196,643
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,713,752,031bundler
124406,224,225rspec-rails
1,06547,306,984shoulda
3,6153,713,489rcov
4,3712,309,964jeweler

Owners

#GravatarHandle
1icon#45141