spec/integration/api/v2010/account/conference_spec.rb in twilio-ruby-5.6.3 vs spec/integration/api/v2010/account/conference_spec.rb in twilio-ruby-5.6.4
- old
+ new
@@ -9,12 +9,12 @@
describe 'Conference' do
it "can fetch" do
@holodeck.mock(Twilio::Response.new(500, ''))
expect {
- @client.api.v2010.accounts("ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
- .conferences("CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa").fetch()
+ @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
+ .conferences('CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
}.to raise_exception(Twilio::REST::TwilioError)
values = {}
expect(
@holodeck.has_request?(Holodeck::Request.new(
@@ -43,21 +43,21 @@
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences/CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.json"
}
]
))
- actual = @client.api.v2010.accounts("ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
- .conferences("CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa").fetch()
+ actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
+ .conferences('CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
expect(actual).to_not eq(nil)
end
it "can read" do
@holodeck.mock(Twilio::Response.new(500, ''))
expect {
- @client.api.v2010.accounts("ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
+ @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
.conferences.list()
}.to raise_exception(Twilio::REST::TwilioError)
values = {}
expect(
@@ -99,11 +99,11 @@
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences.json?PageSize=1"
}
]
))
- actual = @client.api.v2010.accounts("ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
+ actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
.conferences.list()
expect(actual).to_not eq(nil)
end
@@ -123,22 +123,22 @@
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences.json?PageSize=1"
}
]
))
- actual = @client.api.v2010.accounts("ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
+ actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
.conferences.list()
expect(actual).to_not eq(nil)
end
it "can update" do
@holodeck.mock(Twilio::Response.new(500, ''))
expect {
- @client.api.v2010.accounts("ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
- .conferences("CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa").update()
+ @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
+ .conferences('CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').update()
}.to raise_exception(Twilio::REST::TwilioError)
values = {}
expect(
@holodeck.has_request?(Holodeck::Request.new(
@@ -167,11 +167,11 @@
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences/CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.json"
}
]
))
- actual = @client.api.v2010.accounts("ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
- .conferences("CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa").update()
+ actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
+ .conferences('CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').update()
expect(actual).to_not eq(nil)
end
end
\ No newline at end of file