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:
authorAngus MacArthur <amacarthur@blackberry.com>2013-03-19 19:37:50 +0400
committerAngus MacArthur <amacarthur@blackberry.com>2013-04-15 09:54:52 +0400
commitae33fdf297e03866ecc6c31c5470dd5ad72d1328 (patch)
tree6b3b8fb315fbc3e0b6ebf6dbb527abe9bcb3d245 /spec/factories/forked_project_links.rb
parente996c52636f46b193b5ff7291e9b835c317e5438 (diff)
updated fork feature to use gitlab-shell for v5 of gitlab
Diffstat (limited to 'spec/factories/forked_project_links.rb')
-rw-r--r--spec/factories/forked_project_links.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/factories/forked_project_links.rb b/spec/factories/forked_project_links.rb
new file mode 100644
index 00000000000..64bcdf09429
--- /dev/null
+++ b/spec/factories/forked_project_links.rb
@@ -0,0 +1,8 @@
+# Read about factories at https://github.com/thoughtbot/factory_girl
+
+FactoryGirl.define do
+ factory :forked_project_link do
+ association :forked_to_project, factory: :project
+ association :forked_from_project, factory: :project
+ end
+end