Sha256: bb01671ff8b763c4ed11cea3baaf6572a5374993fb655adf7095642a5e5b1a8d

Contents?: true

Size: 389 Bytes

Versions: 2

Compression:

Stored size: 389 Bytes

Contents

require 'spec_helper'

describe Restcomm::REST::Address do
  it 'should set up a dependent phone numbers resources object' do
    address = Restcomm::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

2 entries across 2 versions & 1 rubygems

Version Path
restcomm-ruby-1.2.1 spec/rest/address_spec.rb
restcomm-ruby-1.2.0 spec/rest/address_spec.rb