Sha256: 6965a79a699f03ccc9a518ccba1eb67dc768e9b1ee4794f6f49a8e2208bdda88

Contents?: true

Size: 344 Bytes

Versions: 33

Compression:

Stored size: 344 Bytes

Contents

require 'spec_helper'

describe Twilio::REST::TaskRouter::TaskQueues do
  it 'creates a task queue object' do
    workspace = Twilio::REST::TaskRouter::Workspace.new('someUri', 'someClient')
    expect(workspace).to respond_to(:task_queues)
    expect(workspace.task_queues.instance_variable_get('@path')).to eq('someUri/TaskQueues')
  end
end

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
twilio-ruby-4.6.0.edge spec/rest/task_router/task_queue_spec.rb
twilio-ruby-4.5.0 spec/rest/task_router/task_queue_spec.rb
twilio-ruby-4.4.0 spec/rest/task_router/task_queue_spec.rb
twilio-ruby-4.3.0 spec/rest/task_router/task_queue_spec.rb
twilio-ruby-4.2.1 spec/rest/task_router/task_queue_spec.rb
twilio-ruby-4.2.0 spec/rest/task_router/task_queue_spec.rb
twilio-ruby-4.1.0 spec/rest/task_router/task_queue_spec.rb
twilio-ruby-4.0.1 spec/rest/task_router/task_queue_spec.rb
twilio-ruby-4.0.0 spec/rest/task_router/task_queue_spec.rb
twilio-ruby-3.16.1 spec/rest/task_router/task_queue_spec.rb
twilio-ruby-3.16.0 spec/rest/task_router/task_queue_spec.rb
twilio-ruby-3.15.2 spec/rest/task_router/task_queue_spec.rb
twilio-ruby-3.15.1 spec/rest/task_router/task_queue_spec.rb