blob: 04bbbcf4b0e420699a600e40066fff6ac846ca1a (
plain) (
blame)
1
2
3
4
5
6
7
8
|
Fabricator(:status) do
account
text "Lorem ipsum dolor sit amet"
after_build do |status|
status.uri = Faker::Internet.device_token if !status.account.local? && status.uri.nil?
end
end
|