Permalink
Browse files

Merge pull request #56 from joealba/fix_client_test

Fix ClientTest expectation for compatibility with newer httparty versions
  • Loading branch information...
2 parents dbc4435 + cfe6bbe commit 7f384d5252569f5392bd981632404fc988bdd24a @tobio tobio committed on GitHub Sep 19, 2017
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/client_test.rb
View
@@ -10,7 +10,7 @@ class ClientTest < Test::Unit::TestCase
should "create a client" do
stub_post(@auth, "clients.json", "create_client.json")
client_id = CreateSend::Client.create @auth, "Client Company Name", "(GMT+10:00) Canberra, Melbourne, Sydney", "Australia"
- client_id.should == "32a381c49a2df99f1d0c6f3c112352b9"
+ client_id.parsed_response.should == "32a381c49a2df99f1d0c6f3c112352b9"
end
should "get details of a client" do

0 comments on commit 7f384d5

Please sign in to comment.