test/europe/vat/validation_test.rb in europe-0.0.3 vs test/europe/vat/validation_test.rb in europe-0.0.4

- old
+ new

@@ -5,25 +5,25 @@ # ValidationTest class ValidationTest < Minitest::Test include Benchmark def test_validation_of_false_vat_number - validate_false_vat = Europe::Vat.validate('NL', '123456789B01') + validate_false_vat = Europe::Vat.validate('NL123456789B01') assert_equal false, validate_false_vat[:valid] end def test_validation_of_correct_vat_number # PostNL - validate_correct_vat = Europe::Vat.validate('NL', '009291477B01') + validate_correct_vat = Europe::Vat.validate('NL009291477B01') assert validate_correct_vat[:valid] \ unless validate_correct_vat == :fault # Sky - validate_correct_vat = Europe::Vat.validate('GB', '440627467') + validate_correct_vat = Europe::Vat.validate('GB440627467') assert validate_correct_vat[:valid] # Volkswagen - validate_correct_vat = Europe::Vat.validate('DE', '115235681') + validate_correct_vat = Europe::Vat.validate('DE115235681') assert validate_correct_vat[:valid] end end end end