a lot of new models ...

Fotogallary, gremien, fetprofil,
This commit is contained in:
Andreas Stephanides
2013-08-19 15:39:56 +02:00
parent a19d708134
commit 34b602e126
107 changed files with 2615 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
# Read about factories at https://github.com/thoughtbot/factory_girl
FactoryGirl.define do
factory :fetprofile do
vorname "MyString"
nachname "MyString"
short "MyString"
fetmailalias "MyString"
desc "MyText"
picture "MyString"
active false
end
end

10
spec/factories/fotos.rb Normal file
View File

@@ -0,0 +1,10 @@
# Read about factories at https://github.com/thoughtbot/factory_girl
FactoryGirl.define do
factory :foto do
title "MyString"
desc "MyText"
gallery_id 1
datei "MyString"
end
end

View File

@@ -0,0 +1,9 @@
# Read about factories at https://github.com/thoughtbot/factory_girl
FactoryGirl.define do
factory :gallery do
name "MyString"
desc "MyText"
datum "2013-08-19"
end
end

View File

@@ -0,0 +1,9 @@
# Read about factories at https://github.com/thoughtbot/factory_girl
FactoryGirl.define do
factory :gremium do
name "MyString"
desc "MyText"
typ "MyString"
end
end

View File

@@ -0,0 +1,11 @@
# Read about factories at https://github.com/thoughtbot/factory_girl
FactoryGirl.define do
factory :membership do
fetprofile_id "MyString"
gremium_id "MyString"
start "2013-08-19"
stop "2013-08-19"
typ "MyString"
end
end