Fix up spec to properly pass under expectations

This commit is contained in:
CactusPuppy 2021-03-17 15:06:24 -07:00
parent 125c17838c
commit 0f6881414b
No known key found for this signature in database
GPG key ID: 4B33B0A3E15E2C82
2 changed files with 5 additions and 5 deletions

View file

@ -21,7 +21,7 @@ module External
'tags' => ['snapcon']
}.to_json
response = http.request(request)
response.to_json
response.body
rescue StandardError => e
puts "ERROR #{e}"
nil
@ -34,7 +34,7 @@ module External
request = Net::HTTP::Delete.new(uri.path,
'Authorization' => ENV['MAILBLUSTER_API_KEY'])
response = http.request(request)
response.to_json
response.body
rescue StandardError => e
puts "ERROR #{e}"
nil