Sha256: b00f29dc823e21338f2e27e4fa4dd8f423229b79916c1481c2afd93ad8dd4fca

Contents?: true

Size: 639 Bytes

Versions: 1

Compression:

Stored size: 639 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'
  it_behaves_like 'enum', 'ProjectStatusType', 'ProjectStatusTypes'
end

Version data entries

1 entries across 1 versions & 1 rubygems

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