hometown/spec/fabricators/stream_entry_fabricator.rb

6 lines
111 B
Ruby

Fabricator(:stream_entry) do
account
activity { Fabricate(:status) }
hidden { [true, false].sample }
end