diff --git a/spec/client_spec.rb b/spec/client_spec.rb index 18d2766..0dc0176 100644 --- a/spec/client_spec.rb +++ b/spec/client_spec.rb @@ -184,7 +184,7 @@ def json(data) lambda { client.identify(attributes) }.should_not raise_error() end - it "uses provided url_id rather than id" do + it "uses provided customer_id rather than id" do stub_request(:put, api_uri('/api/v1/customers/cio_5')). with(body: json(id: "5")). to_return(status: 200, body: "", headers: {}) @@ -618,7 +618,7 @@ def json(data) }.to raise_error(Customerio::Client::ParamError, 'timestamp must be a valid timestamp') end end - + describe "#merge_customers" do before(:each) do @client = Customerio::Client.new("SITE_ID", "API_KEY", :json => true)