forked from bofh/fetsite
New Feature: Themen/Informationen
This commit is contained in:
7
spec/factories/attachments.rb
Normal file
7
spec/factories/attachments.rb
Normal file
@@ -0,0 +1,7 @@
|
||||
# Read about factories at https://github.com/thoughtbot/factory_girl
|
||||
|
||||
FactoryGirl.define do
|
||||
factory :attachment do
|
||||
name "MyString"
|
||||
end
|
||||
end
|
||||
8
spec/factories/fragen.rb
Normal file
8
spec/factories/fragen.rb
Normal file
@@ -0,0 +1,8 @@
|
||||
# Read about factories at https://github.com/thoughtbot/factory_girl
|
||||
|
||||
FactoryGirl.define do
|
||||
factory :frage do
|
||||
title "MyString"
|
||||
text "MyText"
|
||||
end
|
||||
end
|
||||
12
spec/factories/studien.rb~
Normal file
12
spec/factories/studien.rb~
Normal file
@@ -0,0 +1,12 @@
|
||||
# Read about factories at https://github.com/thoughtbot/factory_girl
|
||||
|
||||
|
||||
FactoryGirl.define do
|
||||
factory :studium do
|
||||
zahl "066.506"
|
||||
name "Automatisierung"
|
||||
desc "TEST DESC"
|
||||
typ "Master"
|
||||
end
|
||||
|
||||
end
|
||||
8
spec/factories/themen.rb
Normal file
8
spec/factories/themen.rb
Normal file
@@ -0,0 +1,8 @@
|
||||
# Read about factories at https://github.com/thoughtbot/factory_girl
|
||||
|
||||
FactoryGirl.define do
|
||||
factory :thema do
|
||||
title "MyString"
|
||||
text "MyText"
|
||||
end
|
||||
end
|
||||
8
spec/factories/themengruppen.rb
Normal file
8
spec/factories/themengruppen.rb
Normal file
@@ -0,0 +1,8 @@
|
||||
# Read about factories at https://github.com/thoughtbot/factory_girl
|
||||
|
||||
FactoryGirl.define do
|
||||
factory :themagruppen, :class => 'Themengruppe' do
|
||||
title "MyString"
|
||||
text "MyText"
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user