summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrpereira2 <rpereira@gitlab.com>2018-11-13 15:24:10 +0530
committerrpereira2 <rpereira@gitlab.com>2018-11-13 15:24:10 +0530
commitcdcf4c3bebcfc130d248a9dc9618a075f4f34821 (patch)
tree3e7351cda6014590b2773c5982a6a6117bb9fca4
parent5a0a9dabd72e2d4dd79161072dd789ec0150c0c5 (diff)
downloadgitlab-ce-cdcf4c3bebcfc130d248a9dc9618a075f4f34821.tar.gz
Fix rubocop missing whitespace warnings
-rw-r--r--spec/models/project_services/prometheus_service_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/models/project_services/prometheus_service_spec.rb b/spec/models/project_services/prometheus_service_spec.rb
index 279b40e6bd7..b6cf4c72450 100644
--- a/spec/models/project_services/prometheus_service_spec.rb
+++ b/spec/models/project_services/prometheus_service_spec.rb
@@ -16,8 +16,8 @@ describe PrometheusService, :use_clean_rails_memory_store_caching do
context 'redirects' do
it 'does not follow redirects' do
redirect_to = 'https://redirected.example.com'
- redirect_req_stub = stub_prometheus_request(prometheus_query_url('1'), status: 302, headers: {location: redirect_to})
- redirected_req_stub = stub_prometheus_request(redirect_to, body: {'status': 'success'})
+ redirect_req_stub = stub_prometheus_request(prometheus_query_url('1'), status: 302, headers: { location: redirect_to })
+ redirected_req_stub = stub_prometheus_request(redirect_to, body: { 'status': 'success' })
result = service.test