Fix up RSpec tests
This commit is contained in:
parent
e99d9ac054
commit
7bc0842d26
4 changed files with 13 additions and 2 deletions
|
|
@ -5,6 +5,11 @@ require 'webmock/rspec'
|
|||
|
||||
describe External::MailblusterHelper, type: :helper do
|
||||
let!(:user) { create(:user) }
|
||||
|
||||
before(:each) do
|
||||
WebMock.reset_executed_requests!
|
||||
end
|
||||
|
||||
url = 'https://api.mailbluster.com/api/leads/'
|
||||
|
||||
describe 'create_lead' do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue