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.13.0 spec/rest/task_router/task_queue_spec.rb
twilio-ruby-4.12.1 spec/rest/task_router/task_queue_spec.rb
twilio-ruby-4.11.1 spec/rest/task_router/task_queue_spec.rb
twilio-ruby-4.11.0 spec/rest/task_router/task_queue_spec.rb
twilio-ruby-4.10.0.edge spec/rest/task_router/task_queue_spec.rb
twilio-ruby-4.10.0 spec/rest/task_router/task_queue_spec.rb
twilio-ruby-4.9.1 spec/rest/task_router/task_queue_spec.rb
twilio-ruby-4.9.1.edge spec/rest/task_router/task_queue_spec.rb
twilio-ruby-4.9.0 spec/rest/task_router/task_queue_spec.rb
twilio-ruby-4.9.0.edge spec/rest/task_router/task_queue_spec.rb
twilio-ruby-4.8.0 spec/rest/task_router/task_queue_spec.rb
twilio-ruby-4.7.0 spec/rest/task_router/task_queue_spec.rb
twilio-ruby-4.8.3.edge spec/rest/task_router/task_queue_spec.rb
twilio-ruby-4.8.2.edge spec/rest/task_router/task_queue_spec.rb
twilio-ruby-4.8.1.edge spec/rest/task_router/task_queue_spec.rb
twilio-ruby-4.8.0.edge spec/rest/task_router/task_queue_spec.rb
twilio-ruby-4.6.2 spec/rest/task_router/task_queue_spec.rb
twilio-ruby-4.6.1 spec/rest/task_router/task_queue_spec.rb
twilio-ruby-4.6.0 spec/rest/task_router/task_queue_spec.rb
twilio-ruby-4.7.0.edge spec/rest/task_router/task_queue_spec.rb