spec/integration/chat/v2/service/user/user_channel_spec.rb in twilio-ruby-5.7.2 vs spec/integration/chat/v2/service/user/user_channel_spec.rb in twilio-ruby-5.8.0
- old
+ new
@@ -9,20 +9,20 @@
describe 'UserChannel' do
it "can read" do
@holodeck.mock(Twilio::Response.new(500, ''))
expect {
- @client.chat.v2.services('ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
- .users('USaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
+ @client.chat.v2.services('ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
+ .users('USXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
.user_channels.list()
}.to raise_exception(Twilio::REST::TwilioError)
values = {}
expect(
@holodeck.has_request?(Holodeck::Request.new(
method: 'get',
- url: 'https://chat.twilio.com/v2/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Users/USaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Channels',
+ url: 'https://chat.twilio.com/v2/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Users/USXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Channels',
))).to eq(true)
end
it "receives read_full responses" do
@holodeck.mock(Twilio::Response.new(
@@ -55,12 +55,12 @@
]
}
]
))
- actual = @client.chat.v2.services('ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
- .users('USaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
+ actual = @client.chat.v2.services('ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
+ .users('USXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
.user_channels.list()
expect(actual).to_not eq(nil)
end
@@ -81,11 +81,11 @@
"channels": []
}
]
))
- actual = @client.chat.v2.services('ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
- .users('USaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
+ actual = @client.chat.v2.services('ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
+ .users('USXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
.user_channels.list()
expect(actual).to_not eq(nil)
end
end
\ No newline at end of file