Match actually used URL in helper

This commit is contained in:
CactusPuppy 2021-03-19 10:11:07 -07:00
parent 59cc57ebf8
commit bbad082c21
No known key found for this signature in database
GPG key ID: 4B33B0A3E15E2C82

View file

@ -5,7 +5,7 @@ require 'webmock/rspec'
describe External::MailblusterHelper, type: :helper do describe External::MailblusterHelper, type: :helper do
let!(:user) { create(:user) } let!(:user) { create(:user) }
url = 'http://api.mailbluster.com:443/api/leads/' url = 'https://api.mailbluster.com/api/leads/'
describe 'create_lead' do describe 'create_lead' do
it 'makes a post request to Mailbluster\'s API and gets the correct response' do it 'makes a post request to Mailbluster\'s API and gets the correct response' do