diff options
Diffstat (limited to 'spec/factories/tasks.rb')
-rw-r--r-- | spec/factories/tasks.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/spec/factories/tasks.rb b/spec/factories/tasks.rb index b31db8a7d8b..4df489fa4c9 100644 --- a/spec/factories/tasks.rb +++ b/spec/factories/tasks.rb @@ -8,7 +8,8 @@ # target_id :integer not null # target_type :string not null # author_id :integer -# action :integer +# note_id :integer +# action :integer not null # state :string not null # created_at :datetime # updated_at :datetime @@ -19,6 +20,8 @@ FactoryGirl.define do project author user + target factory: :issue + action { Task::ASSIGNED } trait :assigned do action { Task::ASSIGNED } |