2017-11-21 21:50:03 +00:00
|
|
|
FactoryBot.define do
|
2017-03-09 10:32:05 +00:00
|
|
|
sequence :test_group_name do |n|
|
|
|
|
"TestGroup#{n}"
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-11-21 21:50:03 +00:00
|
|
|
FactoryBot.define do
|
2017-03-09 10:32:05 +00:00
|
|
|
|
|
|
|
factory :group do
|
|
|
|
name { generate(:test_group_name) }
|
|
|
|
created_by_id 1
|
|
|
|
updated_by_id 1
|
|
|
|
end
|
|
|
|
end
|