Commit cdcf4c3b authored by rpereira2's avatar rpereira2

Fix rubocop missing whitespace warnings

parent 5a0a9dab
...@@ -16,8 +16,8 @@ describe PrometheusService, :use_clean_rails_memory_store_caching do ...@@ -16,8 +16,8 @@ describe PrometheusService, :use_clean_rails_memory_store_caching do
context 'redirects' do context 'redirects' do
it 'does not follow redirects' do it 'does not follow redirects' do
redirect_to = 'https://redirected.example.com' redirect_to = 'https://redirected.example.com'
redirect_req_stub = stub_prometheus_request(prometheus_query_url('1'), status: 302, headers: {location: redirect_to}) 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'}) redirected_req_stub = stub_prometheus_request(redirect_to, body: { 'status': 'success' })
result = service.test result = service.test
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment