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: 101,631 of 188,474
Downloads: 7,841

Daily

Ranking: 131,764 of 188,457
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,099,228,164bundler
116361,236,290rspec-rails
1,10940,234,305shoulda
3,6103,158,618rcov
4,3102,041,012jeweler

Owners

#GravatarHandle
1icon#45141