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: 101,631 of 188,474
Downloads: 7,841
Daily
Ranking: 131,764 of 188,457
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,099,228,164 | bundler |
| 116 | 361,236,290 | rspec-rails |
| 1,109 | 40,234,305 | shoulda |
| 3,610 | 3,158,618 | rcov |
| 4,310 | 2,041,012 | jeweler |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | #45141 |