mastodon/spec/fabricators/notification_fabricator.rb

6 lines
162 B
Ruby

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