Retrospring/spec/factories/question.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
193 B
Ruby
Raw Normal View History

# frozen_string_literal: true
FactoryBot.define do
factory :question do
user { nil }
content { Faker::Lorem.sentence }
author_is_anonymous { true }
direct { true }
end
end