instante-social/spec/fabricators/notification_fabricator.rb

5 lines
131 B
Ruby

Fabricator(:notification) do
activity fabricator: [:mention, :status, :follow, :follow_request, :favourite].sample
account
end