gitlab-org--gitlab-foss/spec/factories/tasks.rb
2016-02-20 12:10:26 -02:00

23 lines
497 B
Ruby

# == Schema Information
#
# Table name: tasks
#
# id :integer not null, primary key
# user_id :integer not null
# project_id :integer not null
# target_id :integer not null
# target_type :string not null
# author_id :integer
# action :integer
# state :string not null
# created_at :datetime
# updated_at :datetime
#
FactoryGirl.define do
factory :task do
project
author
user
end
end