Sha256: 9f603bde6f0100092cac426f124396c4de86d8f66f27dbb0c50ce356491c9427
Contents?: true
Size: 642 Bytes
Versions: 1
Compression:
Stored size: 642 Bytes
Contents
require 'spec_helper' describe NetSuite::Actions::Customer::Get do before do savon.expects(:get).with({ 'platformMsgs:baseRef' => {}, :attributes! => { 'platformMsgs:baseRef' => { :internalId => 1, :type => 'customer', 'xsi:type' => 'platformCore:RecordRef' } } }).returns(:get_customer) end it 'makes a valid request to the NetSuite API' do NetSuite::Actions::Customer::Get.call(1) end it 'returns a valid Response object' do response = NetSuite::Actions::Customer::Get.call(1) response.should be_kind_of(NetSuite::Response) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
netsuite-0.0.2 | spec/netsuite/actions/customer/get_spec.rb |