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