2023-02-22 00:55:31 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2016-02-26 14:28:08 +00:00
|
|
|
Fabricator(:status) do
|
2023-06-10 17:29:01 +01:00
|
|
|
account { Fabricate.build(:account) }
|
2023-02-18 22:38:14 +00:00
|
|
|
text 'Lorem ipsum dolor sit amet'
|
2017-09-06 18:01:28 +01:00
|
|
|
|
|
|
|
after_build do |status|
|
|
|
|
status.uri = Faker::Internet.device_token if !status.account.local? && status.uri.nil?
|
|
|
|
end
|
2016-02-26 14:28:08 +00:00
|
|
|
end
|