Sha256: 4f9593e55559c7c3b062a97a91d081863288545281f37caa50936810dac60710

Contents?: true

Size: 313 Bytes

Versions: 42

Compression:

Stored size: 313 Bytes

Contents

require 'spec_helper'

describe Twilio::REST::Queue do
  it 'should set up a members resources object' do
    queue = Twilio::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

42 entries across 42 versions & 1 rubygems

Version Path
twilio-ruby-3.13.1 spec/rest/queue_spec.rb
twilio-ruby-3.13.0 spec/rest/queue_spec.rb