Fix up RSpec tests

This commit is contained in:
CactusPuppy 2021-03-23 13:01:22 -07:00
parent 92926effa5
commit d75ba79b3d
No known key found for this signature in database
GPG key ID: 4B33B0A3E15E2C82
4 changed files with 13 additions and 2 deletions

View file

@ -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