Use FactoryBot factories instead of fabricators

This commit is contained in:
Artur Beljajev 2017-10-28 21:36:17 +03:00
parent 0cd913daf8
commit 9fd02c738f
30 changed files with 241 additions and 267 deletions

View file

@ -34,7 +34,7 @@ RSpec.describe 'EPP contact:update' do
before do
sign_in_to_epp_area
FactoryGirl.create(:contact, code: 'TEST')
create(:contact, code: 'TEST')
end
context 'when address processing is enabled' do