2015-08-25 21:42:46 -04:00
|
|
|
# == Schema Information
|
|
|
|
#
|
|
|
|
# Table name: events
|
|
|
|
#
|
|
|
|
# id :integer not null, primary key
|
|
|
|
# project_id :integer
|
|
|
|
# user_id :integer
|
|
|
|
# is_admin :integer
|
|
|
|
# description :text
|
|
|
|
# created_at :datetime
|
|
|
|
# updated_at :datetime
|
|
|
|
#
|
|
|
|
|
|
|
|
FactoryGirl.define do
|
2015-09-09 07:37:50 -04:00
|
|
|
factory :ci_event, class: Ci::Event do
|
2015-08-25 21:42:46 -04:00
|
|
|
sequence :description do |n|
|
|
|
|
"updated project settings#{n}"
|
|
|
|
end
|
|
|
|
|
2015-09-15 14:56:20 -04:00
|
|
|
factory :ci_admin_event do
|
2015-08-25 21:42:46 -04:00
|
|
|
is_admin true
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|