spec/valvat/checksum/gb_spec.rb in valvat-1.1.5 vs spec/valvat/checksum/gb_spec.rb in valvat-1.2.0
- old
+ new
@@ -19,9 +19,10 @@
expect(Valvat::Checksum.validate('GB434031494')).to be true
end
it 'is true for a new format valid vat' do
expect(Valvat::Checksum.validate('GB434031439')).to be true
+ expect(Valvat::Checksum.validate('GB727255821')).to be true
end
it 'is false for an old format VAT in forbidden group' do
expect(Valvat::Checksum.validate('GB999999973')).to be false
end