spec/integration/taskrouter/v1/workspace/worker_spec.rb in twilio-ruby-5.4.2 vs spec/integration/taskrouter/v1/workspace/worker_spec.rb in twilio-ruby-5.4.3
- old
+ new
@@ -105,12 +105,10 @@
expect {
@client.taskrouter.v1.workspaces("WSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
.workers.create(friendly_name: "friendly_name")
}.to raise_exception(Twilio::REST::TwilioError)
- values = {
- 'FriendlyName' => "friendly_name",
- }
+ values = {'FriendlyName' => "friendly_name",}
expect(
@holodeck.has_request?(Holodeck::Request.new(
method: 'post',
url: 'https://taskrouter.twilio.com/v1/Workspaces/WSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Workers',
data: values,
\ No newline at end of file