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: 96,968 of 180,702
Downloads: 7,295

Daily

Ranking: 103,205 of 180,689
Downloads: 1

Depended by

RankDownloadsName

Depends on

RankDownloadsName
12,107,069,537bundler
115265,396,492rspec-rails
1,07228,458,302shoulda
3,3892,580,746rcov
3,9021,817,371jeweler

Owners

#GravatarHandle
1icon#45141