gitlab-org--gitlab-foss/spec/factories/ci/runner_projects.rb
Yorick Peterse 6f1e00ea36
Update CI runner factories to not use invalid IDs
These IDs point to non-existing rows, causing the foreign key
constraints to fail.
2017-07-06 12:01:36 +02:00

6 lines
157 B
Ruby

FactoryGirl.define do
factory :ci_runner_project, class: Ci::RunnerProject do
runner factory: :ci_runner
project factory: :empty_project
end
end