Conflicts:
	config/routes.rb
This commit is contained in:
Thomas Blazek
2013-08-19 15:47:12 +02:00
131 changed files with 3170 additions and 19 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

View File

@@ -0,0 +1,10 @@
# Read about factories at https://github.com/thoughtbot/factory_girl
FactoryGirl.define do
factory :fetznedition do
title "MyString"
desc "MyText"
datum "2013-08-19"
datei "MyString"
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