summaryrefslogtreecommitdiff
path: root/spec/factories
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-06-19 15:40:33 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-06-19 15:40:33 +0300
commit6e35aceff29ddeae6282de31e81e48446ab927fa (patch)
tree34e777e35797f2d55ce82a3e807323523dda74be /spec/factories
parent78680a81774d67997fa0abece4dc1d4a5ec12ce6 (diff)
downloadgitlab-ce-6e35aceff29ddeae6282de31e81e48446ab927fa.tar.gz
Annotated
Diffstat (limited to 'spec/factories')
-rw-r--r--spec/factories/forked_project_links.rb11
-rw-r--r--spec/factories/users_groups.rb12
2 files changed, 23 insertions, 0 deletions
diff --git a/spec/factories/forked_project_links.rb b/spec/factories/forked_project_links.rb
index 64bcdf09429..2f9b91acf2c 100644
--- a/spec/factories/forked_project_links.rb
+++ b/spec/factories/forked_project_links.rb
@@ -1,3 +1,14 @@
+# == Schema Information
+#
+# Table name: forked_project_links
+#
+# id :integer not null, primary key
+# forked_to_project_id :integer not null
+# forked_from_project_id :integer not null
+# created_at :datetime not null
+# updated_at :datetime not null
+#
+
# Read about factories at https://github.com/thoughtbot/factory_girl
FactoryGirl.define do
diff --git a/spec/factories/users_groups.rb b/spec/factories/users_groups.rb
index cb272e35c92..654bb2caee8 100644
--- a/spec/factories/users_groups.rb
+++ b/spec/factories/users_groups.rb
@@ -1,3 +1,15 @@
+# == Schema Information
+#
+# Table name: users_groups
+#
+# id :integer not null, primary key
+# group_access :integer not null
+# group_id :integer not null
+# user_id :integer not null
+# created_at :datetime not null
+# updated_at :datetime not null
+#
+
FactoryGirl.define do
factory :users_group do
group_access { UsersGroup::OWNER }