Sha256: 3020563854062dfc6a72fc6f786c8ef6a6828275e87dcfc3d45d5d96c77df317

Contents?: true

Size: 449 Bytes

Versions: 10

Compression:

Stored size: 449 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'
require 'fortnox/api'
require 'fortnox/api/mappers/terms_of_payment'
require 'fortnox/api/mappers/examples/mapper'

describe Fortnox::API::Mapper::TermsOfPayment do
  key_map = {}
  json_entity_type = 'TermsOfPayment'
  json_entity_collection = 'TermsOfPayments'

  it_behaves_like 'mapper', key_map, json_entity_type, json_entity_collection do
    let(:mapper) { described_class.new }
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
fortnox-api-0.8.2 spec/fortnox/api/mappers/terms_of_payment_spec.rb
fortnox-api-0.8.1 spec/fortnox/api/mappers/terms_of_payment_spec.rb
fortnox-api-0.9.0 spec/fortnox/api/mappers/terms_of_payment_spec.rb
fortnox-api-0.8.0 spec/fortnox/api/mappers/terms_of_payment_spec.rb
fortnox-api-0.7.2 spec/fortnox/api/mappers/terms_of_payment_spec.rb
fortnox-api-0.7.1 spec/fortnox/api/mappers/terms_of_payment_spec.rb
fortnox-api-0.7.0 spec/fortnox/api/mappers/terms_of_payment_spec.rb
fortnox-api-0.6.3 spec/fortnox/api/mappers/terms_of_payment_spec.rb
fortnox-api-0.6.2 spec/fortnox/api/mappers/terms_of_payment_spec.rb
fortnox-api-0.6.1 spec/fortnox/api/mappers/terms_of_payment_spec.rb