Fix routiong specs after rename of resque controller

This commit is contained in:
Dmitriy Zaporozhets 2013-05-30 11:44:35 +03:00
parent 888e493b82
commit 132575faa0
3 changed files with 4 additions and 10 deletions

View file

@ -106,7 +106,7 @@ module SharedPaths
end end
step 'I visit admin Resque page' do step 'I visit admin Resque page' do
visit admin_resque_path visit admin_background_jobs_path
end end
step 'I visit admin groups page' do step 'I visit admin groups page' do

View file

@ -122,10 +122,10 @@ describe Admin::LogsController, "routing" do
end end
end end
# admin_resque GET /admin/resque(.:format) admin/resque#show # admin_background_jobs GET /admin/background_jobs(.:format) admin/background_jobs#show
describe Admin::ResqueController, "routing" do describe Admin::BackgroundJobsController, "routing" do
it "to #show" 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
end end

View file

@ -8,18 +8,12 @@ describe SearchController, "routing" do
end end
# gitlab_api /api API::API # gitlab_api /api API::API
# resque /info/resque Resque::Server
# /:path Grack # /:path Grack
describe "Mounted Apps", "routing" do describe "Mounted Apps", "routing" do
it "to API" do it "to API" do
get("/api").should be_routable get("/api").should be_routable
end end
it "to Resque" do
pending
get("/info/resque").should be_routable
end
it "to Grack" do it "to Grack" do
get("/gitlabhq.git").should be_routable get("/gitlabhq.git").should be_routable
end end