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: 104,493 of 195,890
Downloads: 8,008

Daily

Ranking: 110,636 of 195,869
Downloads: 2

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,646,556,087bundler
122401,848,694rspec-rails
1,06746,723,405shoulda
3,5983,709,268rcov
4,3672,292,641jeweler

Owners

#GravatarHandle
1icon#45141