test/telnyx/telnyx_client_test.rb in telnyx-0.0.8 vs test/telnyx/telnyx_client_test.rb in telnyx-0.1.0

- old
+ new

@@ -242,10 +242,10 @@ stub_request(:post, "#{Telnyx.api_base}/v2/messaging_profiles") .with(headers: { "Telnyx-Account" => Telnyx.telnyx_account }) .to_return(body: JSON.generate(object: "account")) client = TelnyxClient.new - client.execute_request(:post, "/v2/messaging_profiles") + client.execute_request(:post, "/v2/messaging_profiles", params: { name: "foobar" }) ensure Telnyx.telnyx_account = old end end