New Feature: Themen/Informationen

This commit is contained in:
HausdorffHimself
2013-08-05 18:31:04 +02:00
parent e3f7d7e472
commit ac4cb5d0fe
96 changed files with 2139 additions and 0 deletions

View 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
View 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

View 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
View 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

View 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