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: 103,002 of 192,666
Downloads: 7,953

Daily

Ranking: 157,136 of 192,588
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,389,007,605bundler
122383,352,712rspec-rails
1,07544,073,818shoulda
3,5803,515,910rcov
4,3102,203,825jeweler

Owners

#GravatarHandle
1icon#45141