16 lines
292 B
Ruby
16 lines
292 B
Ruby
# Read about factories at https://github.com/thoughtbot/factory_girl
|
|
|
|
FactoryBot.define do
|
|
factory :modulgruppe do
|
|
typ {"Pflicht"}
|
|
phase {1}
|
|
name {"Pflichtmodule 1"}
|
|
desc {"ASDFASDF"}
|
|
factory :other_modulgruppe do
|
|
name {"PFlichtmodule 2"}
|
|
desc {"sdafaswdfsfr"}
|
|
end
|
|
end
|
|
|
|
end
|