Use factory instead of fabricator for WhiteIp

#600
This commit is contained in:
Artur Beljajev 2017-09-29 19:08:59 +03:00
parent e840719b8a
commit 687d56c412
4 changed files with 6 additions and 10 deletions

View file

@ -25,7 +25,7 @@ describe WhiteIp do
context 'with valid attributes' do
before :all do
@white_ip = Fabricate(:white_ip)
@white_ip = create(:white_ip)
end
it 'should have one version' do