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.6.0.edge spec/rest/queue_spec.rb
twilio-ruby-4.5.0 spec/rest/queue_spec.rb
twilio-ruby-4.4.0 spec/rest/queue_spec.rb
twilio-ruby-4.3.0 spec/rest/queue_spec.rb
twilio-ruby-4.2.1 spec/rest/queue_spec.rb
twilio-ruby-4.2.0 spec/rest/queue_spec.rb
twilio-ruby-4.1.0 spec/rest/queue_spec.rb
twilio-ruby-4.0.1 spec/rest/queue_spec.rb
twilio-ruby-4.0.0 spec/rest/queue_spec.rb
twilio-ruby-3.16.1 spec/rest/queue_spec.rb
twilio-ruby-3.16.0 spec/rest/queue_spec.rb
twilio-ruby-3.15.2 spec/rest/queue_spec.rb
twilio-ruby-3.15.1 spec/rest/queue_spec.rb
twilio-ruby-3.15.0 spec/rest/queue_spec.rb
twilio-ruby-3.14.5 spec/rest/queue_spec.rb
twilio-ruby-3.14.4 spec/rest/queue_spec.rb
twilio-ruby-3.14.3 spec/rest/queue_spec.rb
twilio-ruby-3.14.2 spec/rest/queue_spec.rb
twilio-ruby-3.14.1 spec/rest/queue_spec.rb
twilio-ruby-3.14.0 spec/rest/queue_spec.rb