summaryrefslogtreecommitdiff
path: root/spec/factories/events.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/factories/events.rb')
-rw-r--r--spec/factories/events.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/factories/events.rb b/spec/factories/events.rb
index 60bb3044191..ecbda5fbfd3 100644
--- a/spec/factories/events.rb
+++ b/spec/factories/events.rb
@@ -21,7 +21,7 @@ FactoryBot.define do
factory :closed_issue_event do
action { :closed }
- target factory: :closed_issue
+ target { association(:closed_issue, project: project) }
end
factory :wiki_page_event do