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:
Diffstat (limited to 'spec/ci/factories/runner_projects.rb')
-rw-r--r--spec/ci/factories/runner_projects.rb19
1 files changed, 19 insertions, 0 deletions
diff --git a/spec/ci/factories/runner_projects.rb b/spec/ci/factories/runner_projects.rb
new file mode 100644
index 00000000000..b27632b3429
--- /dev/null
+++ b/spec/ci/factories/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 :runner_project do
+ runner_id 1
+ project_id 1
+ end
+end