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