diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-06-19 15:40:33 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-06-19 15:40:33 +0300 |
commit | 6e35aceff29ddeae6282de31e81e48446ab927fa (patch) | |
tree | 34e777e35797f2d55ce82a3e807323523dda74be /spec/factories | |
parent | 78680a81774d67997fa0abece4dc1d4a5ec12ce6 (diff) | |
download | gitlab-ce-6e35aceff29ddeae6282de31e81e48446ab927fa.tar.gz |
Annotated
Diffstat (limited to 'spec/factories')
-rw-r--r-- | spec/factories/forked_project_links.rb | 11 | ||||
-rw-r--r-- | spec/factories/users_groups.rb | 12 |
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 } |