scinote-web/spec/factories/steps.rb

13 lines
227 B
Ruby
Raw Normal View History

# frozen_string_literal: true
FactoryBot.define do
factory :step do
name { Faker::Name.unique.name }
2023-11-13 16:34:38 +08:00
sequence(:position) { |n| n }
completed { true }
user
protocol
completed_on { Time.now }
end
end