spec/valvat/checksum/cy_spec.rb in valvat-0.9.1 vs spec/valvat/checksum/cy_spec.rb in valvat-1.0.0

- old
+ new

@@ -1,15 +1,15 @@ require 'spec_helper' describe Valvat::Checksum::CY do %w(CY01234567U CY00532445O).each do |valid_vat| - it "returns true on valid vat #{valid_vat}" do + it "returns true on valid VAT #{valid_vat}" do expect(Valvat::Checksum.validate(valid_vat)).to be true end invalid_vat = "#{valid_vat[0..-4]}#{valid_vat[-2]}#{valid_vat[-3]}#{valid_vat[-1]}" - it "returns false on invalid vat #{invalid_vat}" do + it "returns false on invalid VAT #{invalid_vat}" do expect(Valvat::Checksum.validate(invalid_vat)).to be false end end end