Commit 132575faa07384dd738e06b96ad892912d8a2725
1 parent
888e493b
Exists in
master
and in
4 other branches
Fix routiong specs after rename of resque controller
Showing
3 changed files
with
4 additions
and
10 deletions
Show diff stats
features/steps/shared/paths.rb
spec/routing/admin_routing_spec.rb
... | ... | @@ -122,10 +122,10 @@ describe Admin::LogsController, "routing" do |
122 | 122 | end |
123 | 123 | end |
124 | 124 | |
125 | -# admin_resque GET /admin/resque(.:format) admin/resque#show | |
126 | -describe Admin::ResqueController, "routing" do | |
125 | +# admin_background_jobs GET /admin/background_jobs(.:format) admin/background_jobs#show | |
126 | +describe Admin::BackgroundJobsController, "routing" do | |
127 | 127 | it "to #show" do |
128 | - get("/admin/resque").should route_to('admin/resque#show') | |
128 | + get("/admin/background_jobs").should route_to('admin/background_jobs#show') | |
129 | 129 | end |
130 | 130 | end |
131 | 131 | ... | ... |
spec/routing/routing_spec.rb
... | ... | @@ -8,18 +8,12 @@ describe SearchController, "routing" do |
8 | 8 | end |
9 | 9 | |
10 | 10 | # gitlab_api /api API::API |
11 | -# resque /info/resque Resque::Server | |
12 | 11 | # /:path Grack |
13 | 12 | describe "Mounted Apps", "routing" do |
14 | 13 | it "to API" do |
15 | 14 | get("/api").should be_routable |
16 | 15 | end |
17 | 16 | |
18 | - it "to Resque" do | |
19 | - pending | |
20 | - get("/info/resque").should be_routable | |
21 | - end | |
22 | - | |
23 | 17 | it "to Grack" do |
24 | 18 | get("/gitlabhq.git").should be_routable |
25 | 19 | end | ... | ... |