forked from bofh/fetsite
Upgraded to Rails 4
This commit is contained in:
@@ -1,18 +1,18 @@
|
||||
# Read about factories at https://github.com/thoughtbot/factory_girl
|
||||
|
||||
|
||||
FactoryGirl.define do
|
||||
FactoryBot.define do
|
||||
factory :studium do
|
||||
zahl "066506"
|
||||
name "Automatisierung"
|
||||
desc "TEST DESC"
|
||||
typ "Master"
|
||||
zahl {"066506"}
|
||||
name {"Automatisierung"}
|
||||
desc {"TEST DESC"}
|
||||
typ {"Master"}
|
||||
|
||||
factory :other_studium do
|
||||
name "Telecommunication"
|
||||
desc "frueher Telekommunikation"
|
||||
zahl "066507"
|
||||
typ "Master"
|
||||
name {"Telecommunication"}
|
||||
desc {"frueher Telekommunikation"}
|
||||
zahl {"066507"}
|
||||
typ {"Master"}
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user