test/lib/workarea/emarsys/gateway_test.rb in workarea-emarsys-1.1.0 vs test/lib/workarea/emarsys/gateway_test.rb in workarea-emarsys-2.0.0

- old
+ new

@@ -7,16 +7,16 @@ def gateway customer_id = '215861890' Workarea::Emarsys::Gateway.new( Rails.application.secrets.emarsys[:secret_key], - customer_id + Rails.application.secrets.emarsys[:user_name] ) end def test_create_contact VCR.use_cassette("emarsys/add_contact", match_requests_on: [:method, :uri]) do - attrs = { contacts: [ "3" => "jyucis-emarsys@workarea.com" ] } + attrs = { contacts: [ "3" => "jyucis-emarsys-test@workarea.com" ] } response = gateway.create_contact(attrs) assert(response.success?) end end