Sha256: 870c5b0fa9e64a52c517ce7e03ef2e4cea6dfef5f52dfb07a06c053e77284a16
Contents?: true
Size: 567 Bytes
Versions: 7
Compression:
Stored size: 567 Bytes
Contents
require 'test_helper' module Europe module Vat # RatesTest class RatesTest < Minitest::Test include Benchmark def setup WebMock.disable! end def test_retrieval_of_vat_rates rates = Europe::Vat::Rates.retrieve if rates == :failed rates = { NL: 17, DE: 19, ES: 18 } else assert_equal rates.count, Europe::Countries::COUNTRIES.count end assert rates[:NL] assert rates[:DE] assert rates[:ES] assert_nil rates[:GG] end end end end
Version data entries
7 entries across 7 versions & 1 rubygems