Sha256: 5fb2390dc05d1a5ba869a3f467c7920a16a95d4d1e4ea384c0ec87c2eab0a2c4

Contents?: true

Size: 549 Bytes

Versions: 3

Compression:

Stored size: 549 Bytes

Contents

# frozen_string_literal: true

RSpec.describe LedgerSync::Adaptors::NetSuiteSOAP::Customer, adaptor: :netsuite_soap do
  let(:adaptor) { netsuite_soap_adaptor }
  let(:attribute_updates) do
    {
      name: "QA UPDATE #{rand_id}"
    }
  end
  let(:record) { :customer }
  let(:resource) do
    LedgerSync::Customer.new(
      email: "#{rand_id}@example.com",
      name: "Test Customer #{rand_id}",
      phone_number: '1234567890',
      subsidiary: existing_subsidiary_resource
    )
  end

  it_behaves_like 'a full netsuite soap resource'
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ledger_sync-1.3.3 qa/netsuite_soap/customer_spec.rb
ledger_sync-1.3.2 qa/netsuite_soap/customer_spec.rb
ledger_sync-1.3.1 qa/netsuite_soap/customer_spec.rb