Retrospring/spec/factories/question.rb

10 lines
173 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 }
end
end