Sha256: b889cb7714a155f949ff195076165aeefbffed45f4d3b3ecac6c9f9ef161bb77

Contents?: true

Size: 317 Bytes

Versions: 2

Compression:

Stored size: 317 Bytes

Contents

require 'spec_helper'

describe Restcomm::REST::Queue do
  it 'should set up a members resources object' do
    queue = Restcomm::REST::Queue.new('someUri', 'someClient')
    expect(queue).to respond_to(:members)
    expect(queue.members.instance_variable_get('@path')).to eq(
      'someUri/Members'
    )
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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