Remove unused code

#569
This commit is contained in:
Artur Beljajev 2017-08-21 02:03:49 +03:00
parent d8118878b1
commit d4176b6979
5 changed files with 0 additions and 41 deletions

View file

@ -35,10 +35,6 @@ describe Registrar do
@registrar.reference_no.should_not be_blank
@registrar.reference_no.last(10).to_i.should_not == 0
end
it 'should not have priv contacts' do
@registrar.priv_contacts.size.should == 0
end
end
context 'with valid attributes' do
@ -120,9 +116,5 @@ describe Registrar do
registrar.valid?
registrar.errors.full_messages.should == ['Code is forbidden to use']
end
it 'should not have priv contacts' do
@registrar.priv_contacts.size.should == 0
end
end
end