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: 102,732 of 192,085
Downloads: 7,936
Daily
Ranking: 76,567 of 192,065
Downloads: 3
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,339,551,034 | bundler |
| 122 | 379,689,192 | rspec-rails |
| 1,078 | 43,514,076 | shoulda |
| 3,584 | 3,461,537 | rcov |
| 4,299 | 2,187,770 | jeweler |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | #45141 |