1
0
mirror of https://github.com/whippyshou/mastodon synced 2024-12-01 08:18:48 +09:00
whippy-edition/spec/fabricators/status_pin_fabricator.rb

5 lines
128 B
Ruby

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