mirror of
https://github.com/internetee/registry.git
synced 2025-08-06 09:45:11 +02:00
All system now supports legacy CID format
This commit is contained in:
parent
1f504e08ea
commit
928ce24132
9 changed files with 137 additions and 56 deletions
|
@ -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']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue