Sha256: 7ef568f738f36c787adcf938bfe1fb3b150f06c6e66873ee3f8baea1096fbeaa

Contents?: true

Size: 369 Bytes

Versions: 1

Compression:

Stored size: 369 Bytes

Contents

require 'spec_helper'
require 'fortnox/api/models/invoice'
require 'fortnox/api/models/examples/document_base'

describe Fortnox::API::Model::Invoice, type: :model do
  valid_hash = { customer_number: '12345' }

  it_behaves_like 'DocumentBase Model',
                  Fortnox::API::Types::InvoiceRow,
                  :invoice_rows,
                  valid_hash
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fortnox-api-0.2.0 spec/fortnox/api/models/invoice_spec.rb