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: 102,732 of 192,085
Downloads: 7,936

Daily

Ranking: 76,567 of 192,065
Downloads: 3

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,339,551,034bundler
122379,689,192rspec-rails
1,07843,514,076shoulda
3,5843,461,537rcov
4,2992,187,770jeweler

Owners

#GravatarHandle
1icon#45141