We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c8bce73 commit c948aceCopy full SHA for c948ace
1 file changed
test/drip/client_test.rb
@@ -92,15 +92,16 @@ class Drip::ClientTest < Drip::TestCase
92
@client = Drip::Client.new do |config|
93
config.api_key = @key
94
config.url_prefix = @url_prefix
95
+ config.account_id = "12345"
96
end
97
98
99
should "connect to alternate prefix with prepended v2" do
- stub_request(:get, "https://api.example.com/v9001/v2/subscribers/blah").
100
+ stub_request(:get, "https://api.example.com/v9001/v2/12345/subscribers/blah").
101
to_return(status: 200, body: "", headers: {})
102
@client.subscriber("blah")
103
- assert_requested :get, "https://api.example.com/v9001/v2/subscribers/blah"
104
+ assert_requested :get, "https://api.example.com/v9001/v2/12345/subscribers/blah"
105
106
107
0 commit comments