gitlabhq/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 18:53:03 +01:00
# Read about factories at https://github.com/thoughtbot/factory_girl
FactoryGirl.define do
factory :user_team_project_relationship do
2013-01-23 17:43:23 +01:00
project
user_team
greatest_access { UsersProject::MASTER }
2013-01-19 18:53:03 +01:00
end
end