Sha256: 2198162a6e8a8328ffcdcac603232e0e5f5c3543ce238b375defe6edc1d9516e

Contents?: true

Size: 348 Bytes

Versions: 2

Compression:

Stored size: 348 Bytes

Contents

require 'spec_helper'

describe Restcomm::REST::TaskRouter::TaskQueues do
  it 'creates a task queue object' do
    workspace = Restcomm::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

2 entries across 2 versions & 1 rubygems

Version Path
restcomm-ruby-1.2.1 spec/rest/task_router/task_queue_spec.rb
restcomm-ruby-1.2.0 spec/rest/task_router/task_queue_spec.rb