Merge branch 'master' into migrate-fabricators-to-factory-bot-factories

# Conflicts:
#	Gemfile
#	lib/tasks/dev.rake
#	spec/models/contact_spec.rb
This commit is contained in:
Artur Beljajev 2017-11-15 15:42:54 +02:00
commit be959a8471
59 changed files with 2505 additions and 480 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
@ -118,9 +114,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