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