Sha256: 8e9e83dee686f860ac6e3e939eacf973c55f98d43f90fa868cf78a703fff9c6e
Contents?: true
Size: 971 Bytes
Versions: 3
Compression:
Stored size: 971 Bytes
Contents
require 'spec_helper' RSpec.describe PortNumberNote do describe 'getting a list of notes', vcr: 'port_number_note/list' do let(:action) { PortNumberNote.list port_number_id, params } let(:port_number_id) { PortOrder.create( port_numbers: [TEST_NUMBER], contact_number: TEST_NUMBER, contact_email: 'julien@phaxio.com', account_identifier: '1234', name_on_account: 'THIS IS A TEST', provider_name: 'DO NOT PORT --Julien', has_bill: true, legal_agreement: true, port_type: 'residential', esig: 'NOT A VALID SIGNATURE' ).port_numbers[0].id } let(:params) { {} } it 'makes the request to phaxio' do expect_api_request :get, "port_numbers/#{port_number_id}/notes", params action end it 'returns a collection of port number note objects' do result = action expect(result).to be_a(Phaxio::Resource::Collection) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
phaxio-2.1.2 | spec/resources/port_number_note_spec.rb |
phaxio-2.1.1 | spec/resources/port_number_note_spec.rb |
phaxio-2.1.0 | spec/resources/port_number_note_spec.rb |