Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjhampton <jhampton@gitlab.com>2018-12-07 15:30:10 +0300
committerjhampton <jhampton@gitlab.com>2018-12-07 15:30:10 +0300
commit13baad36664ed72b29d1b39438cb31fd1b84d28b (patch)
tree064ee1fe205fb5de3aea6e83aeaa9997b3d165bc /spec/controllers
parent1bf28d48082d485d04acc4aadff18789229a896a (diff)
Fixes rubocop offenses
- Fixes multiple hooks within the same group - Omits the default 'each'
Diffstat (limited to 'spec/controllers')
-rw-r--r--spec/controllers/projects/jobs_controller_spec.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/spec/controllers/projects/jobs_controller_spec.rb b/spec/controllers/projects/jobs_controller_spec.rb
index fd3a8fb6340..cb622e2736b 100644
--- a/spec/controllers/projects/jobs_controller_spec.rb
+++ b/spec/controllers/projects/jobs_controller_spec.rb
@@ -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