This repository has been archived on 2024-06-09. You can view files and clone it, but cannot push or open issues/pull-requests.
2023-02-22 01:55:31 +01:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2016-02-26 15:28:08 +01:00
|
|
|
Fabricator(:status) do
|
2023-06-10 18:29:01 +02:00
|
|
|
account { Fabricate.build(:account) }
|
2023-02-18 23:38:14 +01:00
|
|
|
text 'Lorem ipsum dolor sit amet'
|
2017-09-06 19:01:28 +02:00
|
|
|
|
|
|
|
after_build do |status|
|
|
|
|
status.uri = Faker::Internet.device_token if !status.account.local? && status.uri.nil?
|
|
|
|
end
|
2016-02-26 15:28:08 +01:00
|
|
|
end
|