Sha256: b6696d8f38abaa6039c7570288d71ea1064d470d4986582cd53991cd4d70818f

Contents?: true

Size: 415 Bytes

Versions: 3

Compression:

Stored size: 415 Bytes

Contents

require 'test_helper'

module Europe
  module Vat
    # RatesTest
    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

3 entries across 3 versions & 1 rubygems

Version Path
europe-0.0.4 test/europe/vat/rates_test.rb
europe-0.0.3 test/europe/vat/rates_test.rb
europe-0.0.2 test/europe/vat/rates_test.rb