test/europe/vat/rates_test.rb in europe-0.0.19 vs test/europe/vat/rates_test.rb in europe-0.0.20
- old
+ new
@@ -12,14 +12,12 @@
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_equal rates.count, Europe::Countries::COUNTRIES.count
+
assert rates[:NL]
assert rates[:DE]
assert rates[:ES]
assert_nil rates[:GG]
end