debian-mirror-gitlab/spec/factories/group_members.rb
2015-04-26 09:18:37 +02:00

20 lines
511 B
Ruby

# == Schema Information
#
# Table name: group_members
#
# id :integer not null, primary key
# group_access :integer not null
# group_id :integer not null
# user_id :integer not null
# created_at :datetime
# updated_at :datetime
# notification_level :integer default(3), not null
#
FactoryGirl.define do
factory :group_member do
access_level { GroupMember::OWNER }
group
user
end
end