spec/integration/ip_messaging/v1/service_spec.rb in twilio-ruby-5.25.3 vs spec/integration/ip_messaging/v1/service_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/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
+ url: 'https://chat.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
))).to eq(true)
end
it "receives fetch responses" do
@holodeck.mock(Twilio::Response.new(
@@ -74,11 +74,11 @@
values = {}
expect(
@holodeck.has_request?(Holodeck::Request.new(
method: 'delete',
- url: 'https://ip-messaging.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
+ url: 'https://chat.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
))).to eq(true)
end
it "receives delete responses" do
@holodeck.mock(Twilio::Response.new(
@@ -100,11 +100,11 @@
values = {'FriendlyName' => 'friendly_name', }
expect(
@holodeck.has_request?(Holodeck::Request.new(
method: 'post',
- url: 'https://ip-messaging.twilio.com/v1/Services',
+ url: 'https://chat.twilio.com/v1/Services',
data: values,
))).to eq(true)
end
it "receives create responses" do
@@ -157,11 +157,11 @@
values = {}
expect(
@holodeck.has_request?(Holodeck::Request.new(
method: 'get',
- url: 'https://ip-messaging.twilio.com/v1/Services',
+ url: 'https://chat.twilio.com/v1/Services',
))).to eq(true)
end
it "receives read_empty responses" do
@holodeck.mock(Twilio::Response.new(
@@ -250,10 +250,10 @@
values = {}
expect(
@holodeck.has_request?(Holodeck::Request.new(
method: 'post',
- url: 'https://ip-messaging.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
+ url: 'https://chat.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
))).to eq(true)
end
it "receives update responses" do
@holodeck.mock(Twilio::Response.new(
\ No newline at end of file