remove outdated routing specs

This commit is contained in:
Dmitriy Zaporozhets 2013-04-07 21:18:48 +03:00
parent e0df75de3f
commit 5577ee826d

View file

@ -344,18 +344,10 @@ end
# PUT /:project_id/issues/:id(.:format) issues#update # PUT /:project_id/issues/:id(.:format) issues#update
# DELETE /:project_id/issues/:id(.:format) issues#destroy # DELETE /:project_id/issues/:id(.:format) issues#destroy
describe IssuesController, "routing" do describe IssuesController, "routing" do
it "to #sort" do
post("/gitlabhq/issues/sort").should route_to('issues#sort', project_id: 'gitlabhq')
end
it "to #bulk_update" do it "to #bulk_update" do
post("/gitlabhq/issues/bulk_update").should route_to('issues#bulk_update', project_id: 'gitlabhq') post("/gitlabhq/issues/bulk_update").should route_to('issues#bulk_update', project_id: 'gitlabhq')
end end
it "to #search" do
get("/gitlabhq/issues/search").should route_to('issues#search', project_id: 'gitlabhq')
end
it_behaves_like "RESTful project resources" do it_behaves_like "RESTful project resources" do
let(:controller) { 'issues' } let(:controller) { 'issues' }
let(:actions) { [:index, :create, :new, :edit, :show, :update] } let(:actions) { [:index, :create, :new, :edit, :show, :update] }