diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-09-09 13:37:50 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-09-09 13:37:50 +0200 |
commit | 76c6aeb9bc9855e9a65bb08db862e92ac923255e (patch) | |
tree | 3494f9854f8f9e2c14f909c7132691f652d13ebc /spec/factories/ci/runner_projects.rb | |
parent | 3d6fed54f0dc551d8c7ba9a03f4dfbd2203552b5 (diff) | |
download | gitlab-ce-76c6aeb9bc9855e9a65bb08db862e92ac923255e.tar.gz |
Merge CI factories and CI spec/support with GitLab
Diffstat (limited to 'spec/factories/ci/runner_projects.rb')
-rw-r--r-- | spec/factories/ci/runner_projects.rb | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/spec/factories/ci/runner_projects.rb b/spec/factories/ci/runner_projects.rb new file mode 100644 index 00000000000..3aa14ca434d --- /dev/null +++ b/spec/factories/ci/runner_projects.rb @@ -0,0 +1,19 @@ +# == Schema Information +# +# Table name: runner_projects +# +# id :integer not null, primary key +# runner_id :integer not null +# project_id :integer not null +# created_at :datetime +# updated_at :datetime +# + +# Read about factories at https://github.com/thoughtbot/factory_girl + +FactoryGirl.define do + factory :ci_runner_project, class: Ci::RunnerProject do + runner_id 1 + project_id 1 + end +end |