1
0
mirror of https://github.com/mastodon/mastodon.git synced 2024-12-14 23:24:55 +01:00
mastodon/spec/fabricators/status_pin_fabricator.rb

5 lines
128 B
Ruby
Raw Normal View History

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