Skip to content

Commit

Permalink
incorporate feedback from jeremyw
Browse files Browse the repository at this point in the history
  • Loading branch information
jrbeck committed Nov 28, 2023
1 parent 91e6406 commit fbce83c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/client_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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: {})
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit fbce83c

Please sign in to comment.