tootlab-mastodon/spec/fabricators/notification_request_fabricator.rb

9 lines
188 B
Ruby

# frozen_string_literal: true
Fabricator(:notification_request) do
account
from_account { Fabricate.build(:account) }
last_status { Fabricate.build(:status) }
dismissed false
end