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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jérome Perrin
gitlab-ce
Commits
c81db244
Commit
c81db244
authored
Jun 06, 2017
by
Lin Jen-Shin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix raw_path with the new job path, rename to job
in the tests
parent
35083dc9
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
197 additions
and
195 deletions
+197
-195
app/serializers/build_details_entity.rb
app/serializers/build_details_entity.rb
+1
-1
spec/controllers/projects/jobs_controller_spec.rb
spec/controllers/projects/jobs_controller_spec.rb
+68
-68
spec/features/projects/jobs_spec.rb
spec/features/projects/jobs_spec.rb
+70
-70
spec/requests/api/jobs_spec.rb
spec/requests/api/jobs_spec.rb
+58
-56
No files found.
app/serializers/build_details_entity.rb
View file @
c81db244
...
...
@@ -28,7 +28,7 @@ class BuildDetailsEntity < BuildEntity
end
expose
:raw_path
do
|
build
|
raw_namespace_project_
build
_path
(
project
.
namespace
,
project
,
build
)
raw_namespace_project_
job
_path
(
project
.
namespace
,
project
,
build
)
end
private
...
...
spec/controllers/projects/jobs_controller_spec.rb
View file @
c81db244
This diff is collapsed.
Click to expand it.
spec/features/projects/jobs_spec.rb
View file @
c81db244
This diff is collapsed.
Click to expand it.
spec/requests/api/jobs_spec.rb
View file @
c81db244
This diff is collapsed.
Click to expand it.
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