metu.life/spec/fabricators/notification_fabricator.rb

4 lines
131 B

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