Sha256: 910e3e622c2076c7f0ccff8a8409fe87f1795777df7740ad2f3847c1e79259fd

Contents?: true

Size: 571 Bytes

Versions: 1

Compression:

Stored size: 571 Bytes

Contents

require 'spec_helper'
require 'fortnox/api/types'
require 'fortnox/api/types/examples/enum'

describe Fortnox::API::Types do
  it_behaves_like 'enum', 'CountryCode', 'CountryCodes', auto_crop: true
  it_behaves_like 'enum', 'Currency', 'Currencies', auto_crop: true
  it_behaves_like 'enum', 'CustomerType', 'CustomerTypes'
  it_behaves_like 'enum', 'DiscountType', 'DiscountTypes'
  it_behaves_like 'enum', 'HouseWorkType', 'HouseWorkTypes'
  it_behaves_like 'enum', 'VATType', 'VATTypes'
  it_behaves_like 'enum', 'DefaultDeliveryType', 'DefaultDeliveryTypeValues'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fortnox-api-0.2.0 spec/fortnox/api/types/enums_spec.rb