Sha256: bc9e797ea3e0c9fe1788ba0a72b71ef90c48ce8b33db953b293a7da3fbc6d9a3

Contents?: true

Size: 378 Bytes

Versions: 11

Compression:

Stored size: 378 Bytes

Contents

# frozen_string_literal: true

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

describe Fortnox::API::Model::Order, type: :model do
  it_behaves_like 'DocumentBase Model',
                  Fortnox::API::Types::OrderRow,
                  :order_rows,
                  valid_row_hash: { ordered_quantity: 1.1 }
end

Version data entries

11 entries across 11 versions & 1 rubygems

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