spec/integration/config_server_spec.rb in sitehub-0.5.0.alpha11 vs spec/integration/config_server_spec.rb in sitehub-0.5.0.alpha12

- old
+ new

@@ -2,18 +2,18 @@ include_context :integration include_context :sitehub_json let(:config) do { - proxies: [ - { - sitehub_cookie_name: 'custom_name', - sitehub_cookie_path: '/custom/path', - path: '%r{/regex(.*)}', - default: DOWNSTREAM_URL - } - ] + proxies: [ + { + sitehub_cookie_name: 'custom_name', + sitehub_cookie_path: '/custom/path', + path: '%r{/regex(.*)}', + default: DOWNSTREAM_URL + } + ] } end let(:downstream_response) { 'downstream response' } @@ -22,10 +22,10 @@ stub_request(:get, DOWNSTREAM_URL).and_return(body: downstream_response) end let(:app) do sitehub = sitehub do - config_server(CONFIG_SERVER_URL, caching_options: {expires_in: 1}) + config_server(CONFIG_SERVER_URL, caching_options: { expires_in: 1 }) end Async::Middleware.new(sitehub) end