Sha256: ffe576d7475dd9e8ef682e54500368aad260140c63f2c5d0622034ba1aeb6aed

Contents?: true

Size: 542 Bytes

Versions: 3

Compression:

Stored size: 542 Bytes

Contents

# frozen_string_literal: true

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

  it_behaves_like 'a full netsuite resource'
end

Version data entries

3 entries across 3 versions & 1 rubygems

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