spec/integration/flex_api/v1/configuration_spec.rb in twilio-ruby-5.38.0 vs spec/integration/flex_api/v1/configuration_spec.rb in twilio-ruby-5.39.0

- old
+ new

@@ -14,11 +14,10 @@ expect { @client.flex_api.v1.configuration().fetch() }.to raise_exception(Twilio::REST::TwilioError) - values = {} expect( @holodeck.has_request?(Holodeck::Request.new( method: 'get', url: 'https://flex-api.twilio.com/v1/Configuration', ))).to eq(true) @@ -133,26 +132,10 @@ "type": "http", "active": false, "config": "{\\"callback\\":\\"twilio.com/cb\\",\\"allowed_methods\\":[\\"GET\\",\\"POST\\"]}" } ], - "wfm_integrations": [ - { - "name": "teleopti", - "type": "flex_wfm", - "active": true, - "config": "{\\"rta_callback_url\\":\\"https://twilio.com\\",\\"rta_feed_enabled\\": true, \\"historical_feed_enabled\\": true}", - "logo": "logo1", - "author": "somebody1" - }, - { - "name": "teleopti-stage", - "type": "flex_wfm", - "active": false, - "config": "{\\"rta_callback_url\\":\\"https://twilio.com\\",\\"rta_feed_enabled\\": true, \\"historical_feed_enabled\\": true}" - } - ], "outbound_call_flows": { "default": { "caller_id": "+12345", "queue_sid": "WQaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "location": "EE", @@ -212,11 +195,10 @@ expect { @client.flex_api.v1.configuration().create() }.to raise_exception(Twilio::REST::TwilioError) - values = {} expect( @holodeck.has_request?(Holodeck::Request.new( method: 'post', url: 'https://flex-api.twilio.com/v1/Configuration', ))).to eq(true) @@ -331,26 +313,10 @@ "type": "http", "active": false, "config": "{\\"callback\\":\\"twilio.com/cb\\",\\"allowed_methods\\":[\\"GET\\",\\"POST\\"]}" } ], - "wfm_integrations": [ - { - "name": "teleopti", - "type": "flex_wfm", - "active": true, - "config": "{\\"rta_callback_url\\":\\"https://twilio.com\\",\\"rta_feed_enabled\\": true, \\"historical_feed_enabled\\": true}", - "logo": "logo1", - "author": "somebody1" - }, - { - "name": "teleopti-stage", - "type": "flex_wfm", - "active": false, - "config": "{\\"rta_callback_url\\":\\"https://twilio.com\\",\\"rta_feed_enabled\\": true, \\"historical_feed_enabled\\": true}" - } - ], "outbound_call_flows": { "default": { "caller_id": "+12345", "queue_sid": "WQaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "location": "EE", @@ -410,11 +376,10 @@ expect { @client.flex_api.v1.configuration().update() }.to raise_exception(Twilio::REST::TwilioError) - values = {} expect( @holodeck.has_request?(Holodeck::Request.new( method: 'post', url: 'https://flex-api.twilio.com/v1/Configuration', ))).to eq(true) @@ -527,25 +492,9 @@ { "name": "twilio-stage", "type": "http", "active": false, "config": "{\\"callback\\":\\"twilio.com/cb\\",\\"allowed_methods\\":[\\"GET\\",\\"POST\\"]}" - } - ], - "wfm_integrations": [ - { - "name": "teleopti", - "type": "flex_wfm", - "active": true, - "config": "{\\"rta_callback_url\\":\\"https://twilio.com\\",\\"rta_feed_enabled\\": true, \\"historical_feed_enabled\\": true}", - "logo": "logo1", - "author": "somebody1" - }, - { - "name": "teleopti-stage", - "type": "flex_wfm", - "active": false, - "config": "{\\"rta_callback_url\\":\\"https://twilio.com\\",\\"rta_feed_enabled\\": true, \\"historical_feed_enabled\\": true}" } ], "outbound_call_flows": { "default": { "caller_id": "+12345", \ No newline at end of file