spec/integration/taskrouter/v1/workspace/workspace_statistics_spec.rb in twilio-ruby-5.7.2 vs spec/integration/taskrouter/v1/workspace/workspace_statistics_spec.rb in twilio-ruby-5.8.0

- old
+ new

@@ -9,19 +9,19 @@ describe 'WorkspaceStatistics' do it "can fetch" do @holodeck.mock(Twilio::Response.new(500, '')) expect { - @client.taskrouter.v1.workspaces('WSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \ + @client.taskrouter.v1.workspaces('WSXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \ .statistics().fetch() }.to raise_exception(Twilio::REST::TwilioError) values = {} expect( @holodeck.has_request?(Holodeck::Request.new( method: 'get', - url: 'https://taskrouter.twilio.com/v1/Workspaces/WSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Statistics', + url: 'https://taskrouter.twilio.com/v1/Workspaces/WSXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Statistics', ))).to eq(true) end it "receives fetch responses" do @holodeck.mock(Twilio::Response.new( @@ -93,10 +93,10 @@ "workspace_sid": "WSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" } ] )) - actual = @client.taskrouter.v1.workspaces('WSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \ + actual = @client.taskrouter.v1.workspaces('WSXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \ .statistics().fetch() expect(actual).to_not eq(nil) end end \ No newline at end of file