Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-09-09 14:37:50 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-09-09 14:37:50 +0300
commit76c6aeb9bc9855e9a65bb08db862e92ac923255e (patch)
tree3494f9854f8f9e2c14f909c7132691f652d13ebc /spec/factories/ci/runner_projects.rb
parent3d6fed54f0dc551d8c7ba9a03f4dfbd2203552b5 (diff)
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.rb19
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