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: 103,002 of 192,666
Downloads: 7,953
Daily
Ranking: 157,136 of 192,588
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,389,007,605 | bundler |
| 122 | 383,352,712 | rspec-rails |
| 1,075 | 44,073,818 | shoulda |
| 3,580 | 3,515,910 | rcov |
| 4,310 | 2,203,825 | jeweler |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | #45141 |