GitLab steht Mittwoch, den 23. September, zwischen 10:00 und 12:00 Uhr aufgrund von Wartungsarbeiten nicht zur Verfügung.

Commit 132575fa authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix routiong specs after rename of resque controller

parent 888e493b
......@@ -106,7 +106,7 @@ module SharedPaths
end
step 'I visit admin Resque page' do
visit admin_resque_path
visit admin_background_jobs_path
end
step 'I visit admin groups page' do
......
......@@ -122,10 +122,10 @@ describe Admin::LogsController, "routing" do
end
end
# admin_resque GET /admin/resque(.:format) admin/resque#show
describe Admin::ResqueController, "routing" do
# admin_background_jobs GET /admin/background_jobs(.:format) admin/background_jobs#show
describe Admin::BackgroundJobsController, "routing" do
it "to #show" do
get("/admin/resque").should route_to('admin/resque#show')
get("/admin/background_jobs").should route_to('admin/background_jobs#show')
end
end
......
......@@ -8,18 +8,12 @@ describe SearchController, "routing" do
end
# gitlab_api /api API::API
# resque /info/resque Resque::Server
# /:path Grack
describe "Mounted Apps", "routing" do
it "to API" do
get("/api").should be_routable
end
it "to Resque" do
pending
get("/info/resque").should be_routable
end
it "to Grack" do
get("/gitlabhq.git").should be_routable
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment