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: 105,294 of 197,108
Downloads: 8,025

Daily

Ranking: 84,238 of 197,085
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,798,773,199bundler
124411,601,262rspec-rails
1,06347,978,560shoulda
3,6363,718,111rcov
4,3882,323,252jeweler

Owners

#GravatarHandle
1icon#45141