Sha256: 0442c695925754003052cfeb2905363abecdc707b0be12bf2b1bc5164f9359e5

Contents?: true

Size: 301 Bytes

Versions: 5

Compression:

Stored size: 301 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

5 entries across 5 versions & 1 rubygems

Version Path
twilio-ruby-3.12.3 spec/rest/queue_spec.rb
twilio-ruby-3.12.2 spec/rest/queue_spec.rb
twilio-ruby-3.12.1 spec/rest/queue_spec.rb
twilio-ruby-3.12.0 spec/rest/queue_spec.rb
twilio-ruby-3.11.6 spec/rest/queue_spec.rb