Categories: None [Edit]
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
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|
Depends on
| Rank | Downloads | Name |
|---|---|---|
| 1 | 3,646,556,087 | bundler |
| 122 | 401,848,694 | rspec-rails |
| 1,067 | 46,723,405 | shoulda |
| 3,598 | 3,709,268 | rcov |
| 4,367 | 2,292,641 | jeweler |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | #45141 |