spec/integration/ip_messaging/v1/credential_spec.rb in twilio-ruby-5.25.3 vs spec/integration/ip_messaging/v1/credential_spec.rb in twilio-ruby-5.25.4
- old
+ new
@@ -18,11 +18,11 @@
values = {}
expect(
@holodeck.has_request?(Holodeck::Request.new(
method: 'get',
- url: 'https://ip-messaging.twilio.com/v1/Credentials',
+ url: 'https://chat.twilio.com/v1/Credentials',
))).to eq(true)
end
it "receives read_full responses" do
@holodeck.mock(Twilio::Response.new(
@@ -92,11 +92,11 @@
values = {'Type' => 'gcm', }
expect(
@holodeck.has_request?(Holodeck::Request.new(
method: 'post',
- url: 'https://ip-messaging.twilio.com/v1/Credentials',
+ url: 'https://chat.twilio.com/v1/Credentials',
data: values,
))).to eq(true)
end
it "receives create responses" do
@@ -130,11 +130,11 @@
values = {}
expect(
@holodeck.has_request?(Holodeck::Request.new(
method: 'get',
- url: 'https://ip-messaging.twilio.com/v1/Credentials/CRXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
+ url: 'https://chat.twilio.com/v1/Credentials/CRXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
))).to eq(true)
end
it "receives fetch responses" do
@holodeck.mock(Twilio::Response.new(
@@ -167,11 +167,11 @@
values = {}
expect(
@holodeck.has_request?(Holodeck::Request.new(
method: 'post',
- url: 'https://ip-messaging.twilio.com/v1/Credentials/CRXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
+ url: 'https://chat.twilio.com/v1/Credentials/CRXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
))).to eq(true)
end
it "receives update responses" do
@holodeck.mock(Twilio::Response.new(
@@ -204,10 +204,10 @@
values = {}
expect(
@holodeck.has_request?(Holodeck::Request.new(
method: 'delete',
- url: 'https://ip-messaging.twilio.com/v1/Credentials/CRXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
+ url: 'https://chat.twilio.com/v1/Credentials/CRXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
))).to eq(true)
end
it "receives delete responses" do
@holodeck.mock(Twilio::Response.new(
\ No newline at end of file