Match actually used URL in helper
This commit is contained in:
parent
59cc57ebf8
commit
bbad082c21
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue