diff options
Diffstat (limited to 'spec/models/integrations/buildkite_spec.rb')
-rw-r--r-- | spec/models/integrations/buildkite_spec.rb | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/spec/models/integrations/buildkite_spec.rb b/spec/models/integrations/buildkite_spec.rb index 5f62c68bd2b..29c649af6c6 100644 --- a/spec/models/integrations/buildkite_spec.rb +++ b/spec/models/integrations/buildkite_spec.rb @@ -146,9 +146,10 @@ RSpec.describe Integrations::Buildkite, :use_clean_rails_memory_store_caching do def stub_request(status: 200, body: nil) body ||= %q({"status":"success"}) - stub_full_request(buildkite_full_url) - .to_return(status: status, - headers: { 'Content-Type' => 'application/json' }, - body: body) + stub_full_request(buildkite_full_url).to_return( + status: status, + headers: { 'Content-Type' => 'application/json' }, + body: body + ) end end |