Fix up spec to properly pass under expectations
This commit is contained in:
parent
125c17838c
commit
0f6881414b
2 changed files with 5 additions and 5 deletions
4
app/helpers/external/mailbluster_helper.rb
vendored
4
app/helpers/external/mailbluster_helper.rb
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue