All system now supports legacy CID format

This commit is contained in:
Priit Tark 2015-05-06 14:01:40 +03:00
parent 1f504e08ea
commit 928ce24132
9 changed files with 137 additions and 56 deletions

View file

@ -121,7 +121,7 @@ describe Registrar do
i.description.should == 'add some money'
end
fit 'should not allaw to use CID as code for leagcy reasons' do
it 'should not allaw to use CID as code for leagcy reasons' do
registrar = Fabricate.build(:registrar, code: 'CID')
registrar.valid?
registrar.errors.full_messages.should == ['Code is forbidden to use']