bastodon/spec/fabricators/status_pin_fabricator.rb

4 řádky
128 B
Ruby

Fabricator(:status_pin) do
account
status { |attrs| Fabricate(:status, account: attrs[:account], visibility: :public) }
end