scinote-web/spec/factories/report_elements.rb

13 lines
206 B
Ruby
Raw Normal View History

2019-05-09 23:10:02 +08:00
# frozen_string_literal: true
FactoryBot.define do
factory :report_element do
report
position { 1 }
trait :with_experiment do
type_of { :experiment }
experiment
end
end
end