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: 105,294 of 197,108
Downloads: 8,025
Daily
Ranking: 84,238 of 197,085
Downloads: 0
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,798,773,199 | bundler |
| 124 | 411,601,262 | rspec-rails |
| 1,063 | 47,978,560 | shoulda |
| 3,636 | 3,718,111 | rcov |
| 4,388 | 2,323,252 | jeweler |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | #45141 |