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: 96,968 of 180,702
Downloads: 7,295
Daily
Ranking: 103,205 of 180,689
Downloads: 1
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 | 2,107,069,537 | bundler |
115 | 265,396,492 | rspec-rails |
1,072 | 28,458,302 | shoulda |
3,389 | 2,580,746 | rcov |
3,902 | 1,817,371 | jeweler |
Owners
# | Gravatar | Handle |
---|---|---|
1 | #45141 |