spec/integration/taskrouter/v1/workspace_spec.rb in twilio-ruby-5.38.0 vs spec/integration/taskrouter/v1/workspace_spec.rb in twilio-ruby-5.39.0
- old
+ new
@@ -14,11 +14,10 @@
expect {
@client.taskrouter.v1.workspaces('WSXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').fetch()
}.to raise_exception(Twilio::REST::TwilioError)
- values = {}
expect(
@holodeck.has_request?(Holodeck::Request.new(
method: 'get',
url: 'https://taskrouter.twilio.com/v1/Workspaces/WSXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
))).to eq(true)
@@ -69,11 +68,10 @@
expect {
@client.taskrouter.v1.workspaces('WSXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').update()
}.to raise_exception(Twilio::REST::TwilioError)
- values = {}
expect(
@holodeck.has_request?(Holodeck::Request.new(
method: 'post',
url: 'https://taskrouter.twilio.com/v1/Workspaces/WSXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
))).to eq(true)
@@ -124,11 +122,10 @@
expect {
@client.taskrouter.v1.workspaces.list()
}.to raise_exception(Twilio::REST::TwilioError)
- values = {}
expect(
@holodeck.has_request?(Holodeck::Request.new(
method: 'get',
url: 'https://taskrouter.twilio.com/v1/Workspaces',
))).to eq(true)
@@ -272,10 +269,9 @@
expect {
@client.taskrouter.v1.workspaces('WSXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').delete()
}.to raise_exception(Twilio::REST::TwilioError)
- values = {}
expect(
@holodeck.has_request?(Holodeck::Request.new(
method: 'delete',
url: 'https://taskrouter.twilio.com/v1/Workspaces/WSXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
))).to eq(true)
\ No newline at end of file