test/fastly/customer_test.rb in fastly-2.5.3 vs test/fastly/customer_test.rb in fastly-3.0.0
- old
+ new
@@ -5,10 +5,10 @@
let(:fastly) { Fastly.new(api_key: 'secret') }
let(:customer_id) { SecureRandom.hex(6) }
let(:owner_id) { SecureRandom.hex(6) }
let(:customer) do
- stub_request(:post, "#{Fastly::Client::DEFAULT_URL}/login").to_return(body: '{}', status: 200, headers: { 'Set-Cookie' => 'tasty!' })
+ stub_request(:post, "#{Fastly::Client::DEFAULT_URL}/login").to_return(body: '{}', status: 200)
customer_body = JSON.dump(
'id' => customer_id,
'owner_id' => owner_id,
'legal_contact_id' => owner_id,