spec/concerns/crud_leads_spec.rb in mrkt-1.0.0 vs spec/concerns/crud_leads_spec.rb in mrkt-1.0.1

- old
+ new

@@ -209,10 +209,10 @@ let(:request_stub) { {} } subject { client.merge_leads(id, losing_lead_ids) } before do - params = Faraday::Utils::ParamsHash.new + params = ::Faraday::Utils::ParamsHash.new params[:mergeInCRM] = false params[:leadIds] = losing_lead_ids.join(',') if losing_lead_ids stub_request(:post, "https://#{host}/rest/v1/leads/#{id}/merge.json?#{params.to_query}") .with(json_stub(request_stub))