```ruby
FactoryGirl.define do
  factory :issue do
    association :project, factory: :project
    association :creator, factory: :user
    title "issue1"
    status :draft
  end
end
```

Fix generated factory to pass spec
user
```ruby
FactoryGirl.define do
  factory :issue do
    association :project, factory: :project
    title "issue1"
    status :draft
    association :creator, factory: :user
  end
end
```
assistant