Sha256: ad7bba82948127a643fa1ed4e7867dcd93e9525be47b344b9881597e67d4123f

Contents?: true

Size: 385 Bytes

Versions: 37

Compression:

Stored size: 385 Bytes

Contents

require 'spec_helper'

describe Twilio::REST::Address do
  it 'should set up a dependent phone numbers resources object' do
    address = Twilio::REST::Address.new('someUri', 'someClient')
    expect(address).to respond_to(:dependent_phone_numbers)
    expect(address.dependent_phone_numbers.instance_variable_get('@path')).to eq(
      'someUri/DependentPhoneNumbers'
    )
  end
end

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
twilio-ruby-4.6.0.edge spec/rest/address_spec.rb
twilio-ruby-4.5.0 spec/rest/address_spec.rb
twilio-ruby-4.4.0 spec/rest/address_spec.rb
twilio-ruby-4.3.0 spec/rest/address_spec.rb
twilio-ruby-4.2.1 spec/rest/address_spec.rb
twilio-ruby-4.2.0 spec/rest/address_spec.rb
twilio-ruby-4.1.0 spec/rest/address_spec.rb
twilio-ruby-4.0.1 spec/rest/address_spec.rb
twilio-ruby-4.0.0 spec/rest/address_spec.rb
twilio-ruby-3.16.1 spec/rest/address_spec.rb
twilio-ruby-3.16.0 spec/rest/address_spec.rb
twilio-ruby-3.15.2 spec/rest/address_spec.rb
twilio-ruby-3.15.1 spec/rest/address_spec.rb
twilio-ruby-3.15.0 spec/rest/address_spec.rb
twilio-ruby-3.14.5 spec/rest/address_spec.rb
twilio-ruby-3.14.4 spec/rest/address_spec.rb
twilio-ruby-3.14.3 spec/rest/address_spec.rb