AutoCommit Sam Sep 5 21:03:02 CEST 2015

This commit is contained in:
Andreas Stephanides
2015-09-05 21:03:02 +02:00
parent 13f852cf48
commit d509884aa1
3 changed files with 10 additions and 16 deletions

View File

@@ -7,8 +7,5 @@ FactoryGirl.define do
name "Kommission"
desc "Das ist eine Kommission die sich mit irgendwas beschäftigt"
typ 1
factory :gremium_with_fetprofile do
association :memberships, factory: :membership_with_fetprofile
end
end
end
end

View File

@@ -2,15 +2,11 @@
FactoryGirl.define do
factory :membership do
gremium_id 1
fetprofile_id 1
start "2013-08-19"
stop "2013-08-23"
typ 1
factory :membership_with_fetprofile do
association :fetprofile
end
factory :membership_with_gremium do
association :gremium
end
end
end