spec/integration/video/v1/composition_spec.rb in twilio-ruby-5.7.2 vs spec/integration/video/v1/composition_spec.rb in twilio-ruby-5.8.0
- old
+ new
@@ -9,18 +9,18 @@
describe 'Composition' do
it "can fetch" do
@holodeck.mock(Twilio::Response.new(500, ''))
expect {
- @client.video.v1.compositions('CJaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
+ @client.video.v1.compositions('CJXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').fetch()
}.to raise_exception(Twilio::REST::TwilioError)
values = {}
expect(
@holodeck.has_request?(Holodeck::Request.new(
method: 'get',
- url: 'https://video.twilio.com/v1/Compositions/CJaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',
+ url: 'https://video.twilio.com/v1/Compositions/CJXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
))).to eq(true)
end
it "receives fetch responses" do
@holodeck.mock(Twilio::Response.new(
@@ -52,11 +52,11 @@
}
}
]
))
- actual = @client.video.v1.compositions('CJaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
+ actual = @client.video.v1.compositions('CJXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').fetch()
expect(actual).to_not eq(nil)
end
it "can read" do
@@ -149,27 +149,27 @@
it "can delete" do
@holodeck.mock(Twilio::Response.new(500, ''))
expect {
- @client.video.v1.compositions('CJaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').delete()
+ @client.video.v1.compositions('CJXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').delete()
}.to raise_exception(Twilio::REST::TwilioError)
values = {}
expect(
@holodeck.has_request?(Holodeck::Request.new(
method: 'delete',
- url: 'https://video.twilio.com/v1/Compositions/CJaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',
+ url: 'https://video.twilio.com/v1/Compositions/CJXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
))).to eq(true)
end
it "receives delete responses" do
@holodeck.mock(Twilio::Response.new(
204,
nil,
))
- actual = @client.video.v1.compositions('CJaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').delete()
+ actual = @client.video.v1.compositions('CJXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').delete()
expect(actual).to eq(true)
end
it "can create" do
\ No newline at end of file