Sha256: 7de4d594d8db2a23020ee30671798ae5a4b057300a396fbbaab5157e7fe7928b
Contents?: true
Size: 355 Bytes
Versions: 32
Compression:
Stored size: 355 Bytes
Contents
FactoryBot.define do factory :mdm_event, :aliases => [:event], :class => Mdm::Event do name { FactoryBot.generate :mdm_event_name } trait :workspace do association :workspace, :factory => :mdm_workspace end factory :mdm_workspace_event, :traits => [:workspace] end sequence :mdm_event_name do |n| "Event #{n}" end end
Version data entries
32 entries across 32 versions & 2 rubygems