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,747 of 198,362
Downloads: 8,046
Daily
Ranking: 103,861 of 198,347
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,929,266,364 | bundler |
| 125 | 420,040,094 | rspec-rails |
| 1,059 | 48,997,484 | shoulda |
| 3,667 | 3,725,648 | rcov |
| 4,415 | 2,342,577 | jeweler |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | #45141 |