Sha256: 0bbad861f02ad990134a92ab234eb577b1fd85aa13ed22d13aaa9eaefe9f64df

Contents?: true

Size: 185 Bytes

Versions: 6

Compression:

Stored size: 185 Bytes

Contents

module Matchers
  module Type
    def have_discount_type( attribute, valid_hash = {} )
      EnumMatcher.new( attribute, valid_hash, 'DiscountType', 'DiscountTypes' )
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
fortnox-api-0.5.2 spec/support/matchers/type/have_discount_type_matcher.rb
fortnox-api-0.5.1 spec/support/matchers/type/have_discount_type_matcher.rb
fortnox-api-0.5.0 spec/support/matchers/type/have_discount_type_matcher.rb
fortnox-api-0.4.0 spec/support/matchers/type/have_discount_type_matcher.rb
fortnox-api-0.3.0 spec/support/matchers/type/have_discount_type_matcher.rb
fortnox-api-0.2.0 spec/support/matchers/type/have_discount_type_matcher.rb