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

- old
+ new

@@ -1,8 +1,10 @@ +require 'spec_helper' + describe Valvat::Checksum::GB do %w(GBGD100 GBHA600).each do |gov_agency_vat| - it "returns true on valid vat for government agency #{gov_agency_vat}" do + it "returns true on valid VAT for government agency #{gov_agency_vat}" do expect(Valvat::Checksum.validate(gov_agency_vat)).to be true end end %w(GB000000000 GB000000000000).each do |invalid_vat| @@ -17,13 +19,13 @@ it 'is true for a new format valid vat' do expect(Valvat::Checksum.validate('GB434031439')).to be true end - it 'is false for an old format vat in forbidden group' do + it 'is false for an old format VAT in forbidden group' do expect(Valvat::Checksum.validate('GB999999973')).to be false end - it 'is false for a new format vat in forbidden group' do + it 'is false for a new format VAT in forbidden group' do expect(Valvat::Checksum.validate('GB100000034')).to be false end end