Fix failing tests [SCI-2687]

This commit is contained in:
Oleksii Kriuchykhin 2018-08-24 12:01:47 +02:00
parent 5488fc66fc
commit afef8bc0b1

View file

@ -2,6 +2,7 @@ FactoryBot.define do
factory :repository_row do
name 'Custom row'
created_by { User.first || association(:user) }
repository { Repository.first || create(:repository) }
last_modified_by { User.first || association(:user) }
end
end