Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
132575fa
Commit
132575fa
authored
May 30, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix routiong specs after rename of resque controller
parent
888e493b
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
10 deletions
+4
-10
features/steps/shared/paths.rb
features/steps/shared/paths.rb
+1
-1
spec/routing/admin_routing_spec.rb
spec/routing/admin_routing_spec.rb
+3
-3
spec/routing/routing_spec.rb
spec/routing/routing_spec.rb
+0
-6
No files found.
features/steps/shared/paths.rb
View file @
132575fa
...
...
@@ -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
...
...
spec/routing/admin_routing_spec.rb
View file @
132575fa
...
...
@@ -122,10 +122,10 @@ describe Admin::LogsController, "routing" do
end
end
# admin_
resque GET /admin/resque(.:format) admin/resque
#show
describe
Admin
::
Resque
Controller
,
"routing"
do
# admin_
background_jobs GET /admin/background_jobs(.:format) admin/background_jobs
#show
describe
Admin
::
BackgroundJobs
Controller
,
"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
...
...
spec/routing/routing_spec.rb
View file @
132575fa
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment