Sha256: ca87c79c2f2a3559528965cd1588cc60edc65645bb981a749114e7f83a376fe0

Contents?: true

Size: 200 Bytes

Versions: 12

Compression:

Stored size: 200 Bytes

Contents

# frozen_string_literal: true

module Matchers
  module Type
    def have_currency(attribute, valid_hash = {})
      EnumMatcher.new(attribute, valid_hash, 'Currency', 'Currencies')
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
fortnox-api-0.9.1 spec/support/matchers/type/have_currency_matcher.rb
fortnox-api-0.8.2 spec/support/matchers/type/have_currency_matcher.rb
fortnox-api-0.8.1 spec/support/matchers/type/have_currency_matcher.rb
fortnox-api-0.9.0 spec/support/matchers/type/have_currency_matcher.rb
fortnox-api-0.8.0 spec/support/matchers/type/have_currency_matcher.rb
fortnox-api-0.7.2 spec/support/matchers/type/have_currency_matcher.rb
fortnox-api-0.7.1 spec/support/matchers/type/have_currency_matcher.rb
fortnox-api-0.7.0 spec/support/matchers/type/have_currency_matcher.rb
fortnox-api-0.6.3 spec/support/matchers/type/have_currency_matcher.rb
fortnox-api-0.6.2 spec/support/matchers/type/have_currency_matcher.rb
fortnox-api-0.6.1 spec/support/matchers/type/have_currency_matcher.rb
fortnox-api-0.6.0 spec/support/matchers/type/have_currency_matcher.rb