Sha256: f76129ae7b3fa6df369c4fb512d9921b81c1d03bc39be354249b8b6b296fe921

Contents?: true

Size: 325 Bytes

Versions: 11

Compression:

Stored size: 325 Bytes

Contents

# frozen_string_literal: true

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

describe Fortnox::API::Model::Invoice, type: :model do
  it_behaves_like 'DocumentBase Model',
                  Fortnox::API::Types::InvoiceRow,
                  :invoice_rows
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
fortnox-api-0.8.2 spec/fortnox/api/models/invoice_spec.rb
fortnox-api-0.8.1 spec/fortnox/api/models/invoice_spec.rb
fortnox-api-0.9.0 spec/fortnox/api/models/invoice_spec.rb
fortnox-api-0.8.0 spec/fortnox/api/models/invoice_spec.rb
fortnox-api-0.7.2 spec/fortnox/api/models/invoice_spec.rb
fortnox-api-0.7.1 spec/fortnox/api/models/invoice_spec.rb
fortnox-api-0.7.0 spec/fortnox/api/models/invoice_spec.rb
fortnox-api-0.6.3 spec/fortnox/api/models/invoice_spec.rb
fortnox-api-0.6.2 spec/fortnox/api/models/invoice_spec.rb
fortnox-api-0.6.1 spec/fortnox/api/models/invoice_spec.rb
fortnox-api-0.6.0 spec/fortnox/api/models/invoice_spec.rb