gitlab-org--gitlab-foss/spec/factories/user_team_project_relationships.rb

22 lines
530 B
Ruby
Raw Normal View History

# == Schema Information
#
# Table name: user_team_project_relationships
#
# id :integer not null, primary key
# project_id :integer
# user_team_id :integer
# greatest_access :integer
# created_at :datetime not null
# updated_at :datetime not null
#
2013-01-19 12:53:03 -05:00
# Read about factories at https://github.com/thoughtbot/factory_girl
FactoryGirl.define do
factory :user_team_project_relationship do
2013-01-23 11:43:23 -05:00
project
user_team
greatest_access { UsersProject::MASTER }
2013-01-19 12:53:03 -05:00
end
end