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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
13baad36
Commit
13baad36
authored
Dec 07, 2018
by
jhampton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes rubocop offenses
- Fixes multiple hooks within the same group - Omits the default 'each'
parent
1bf28d48
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
spec/controllers/projects/jobs_controller_spec.rb
spec/controllers/projects/jobs_controller_spec.rb
+0
-4
No files found.
spec/controllers/projects/jobs_controller_spec.rb
View file @
13baad36
...
...
@@ -405,9 +405,7 @@ describe Projects::JobsController, :clean_gitlab_redis_shared_state do
create
(
:ci_pipeline_variable
,
pipeline:
pipeline
,
key: :TRIGGER_KEY_1
,
value:
'TRIGGER_VALUE_1'
)
get_show
(
id:
job
.
id
,
format: :json
)
end
before
(
:each
)
do
@first_variable
=
json_response
[
'trigger'
][
'variables'
].
first
end
...
...
@@ -433,9 +431,7 @@ describe Projects::JobsController, :clean_gitlab_redis_shared_state do
create
(
:ci_pipeline_variable
,
pipeline:
pipeline
,
key: :TRIGGER_KEY_1
,
value:
'TRIGGER_VALUE_1'
)
get_show
(
id:
job
.
id
,
format: :json
)
end
before
(
:each
)
do
@first_variable
=
json_response
[
'trigger'
][
'variables'
].
first
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