about summary refs log tree commit diff
path: root/spec/fabricators
diff options
context:
space:
mode:
Diffstat (limited to 'spec/fabricators')
-rw-r--r--spec/fabricators/notification_fabricator.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/fabricators/notification_fabricator.rb b/spec/fabricators/notification_fabricator.rb
index b92af0683..638844e0f 100644
--- a/spec/fabricators/notification_fabricator.rb
+++ b/spec/fabricators/notification_fabricator.rb
@@ -1,4 +1,4 @@
 Fabricator(:notification) do
-  activity_id   1
-  activity_type 'Favourite'
+  activity fabricator: [:mention, :status, :follow, :follow_request, :favourite].sample
+  account
 end