```ruby
FactoryGirl.define do
  factory :task do
    title "MyString"
    description 'Awesome project'
    milestone_id 1
    assigned_user_id 1
    state "new"
    project_id 1
  end
end
```

Add `user_id` to task factory, since it breaks the specs.
user
```ruby
FactoryGirl.define do
  factory :task do
    title "MyString"
    description 'Awesome project'
    milestone_id 1
    assigned_user_id 1
    state "new"
    project_id 1
    user_id 1
  end
end
```
assistant