accodeing/fortnox-api

View on GitHub
spec/support/matchers/type/have_currency_matcher.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

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