Commit ba0bb170 authored by Douglas Barbosa Alexandre's avatar Douglas Barbosa Alexandre
Browse files

Fix task factory

parent 3aaa5d008305
......@@ -9,7 +9,7 @@
# target_type :string not null
# author_id :integer
# note_id :integer
# action :integer
# action :integer not null
# state :string not null
# created_at :datetime
# updated_at :datetime
......
......@@ -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 @@
project
author
user
target factory: :issue
action { Task::ASSIGNED }
trait :assigned do
action { Task::ASSIGNED }
......
......@@ -9,7 +9,7 @@
# target_type :string not null
# author_id :integer
# note_id :integer
# action :integer
# action :integer not null
# state :string not null
# created_at :datetime
# updated_at :datetime
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment