BigW Consortium Gitlab

events.rb 461 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14
# == 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
15
  factory :ci_event, class: Ci::Event do
16 17 18 19
    sequence :description do |n|
      "updated project settings#{n}"
    end

20
    factory :ci_admin_event do
21 22 23 24
      is_admin true
    end
  end
end