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,747 of 198,362
Downloads: 8,046

Daily

Ranking: 103,861 of 198,347
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,929,266,364bundler
125420,040,094rspec-rails
1,05948,997,484shoulda
3,6673,725,648rcov
4,4152,342,577jeweler

Owners

#GravatarHandle
1icon#45141