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