From bbad082c21bc8d5dd12b2e5ca4e1344cb298f2b5 Mon Sep 17 00:00:00 2001 From: CactusPuppy Date: Fri, 19 Mar 2021 10:11:07 -0700 Subject: [PATCH] Match actually used URL in helper --- spec/helpers/external/mailbluster_helper_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/helpers/external/mailbluster_helper_spec.rb b/spec/helpers/external/mailbluster_helper_spec.rb index 7cb1560d..2734be00 100644 --- a/spec/helpers/external/mailbluster_helper_spec.rb +++ b/spec/helpers/external/mailbluster_helper_spec.rb @@ -5,7 +5,7 @@ require 'webmock/rspec' describe External::MailblusterHelper, type: :helper do let!(:user) { create(:user) } - url = 'http://api.mailbluster.com:443/api/leads/' + url = 'https://api.mailbluster.com/api/leads/' describe 'create_lead' do it 'makes a post request to Mailbluster\'s API and gets the correct response' do