Sha256: 382d02a7a9448e84b6e5c6c617e39219cc85d47f002d0da653f01c204d95f177

Contents?: true

Size: 418 Bytes

Versions: 1

Compression:

Stored size: 418 Bytes

Contents

require 'test_helper'

module Europe
  module Vat
    # CurrencyTest
    class RatesTest < Minitest::Test
      include Benchmark

      def test_retrieval_of_vat_rates
        rates = Europe::Vat::Rates.retrieve
        assert_equal rates.count, Europe::Countries::COUNTRIES.count
        assert rates[:NL]
        assert rates[:DE]
        assert rates[:ES]
        assert_nil rates[:GG]
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
europe-0.0.1 test/europe/vat/rates_test.rb