debian-mirror-gitlab/spec/factories/group_members.rb

21 lines
511 B
Ruby
Raw Normal View History

2014-09-02 18:07:02 +05:30
# == Schema Information
#
2015-04-26 12:48:37 +05:30
# Table name: group_members
2014-09-02 18:07:02 +05:30
#
# 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
2015-04-26 12:48:37 +05:30
factory :group_member do
access_level { GroupMember::OWNER }
2014-09-02 18:07:02 +05:30
group
user
end
end