forked from bofh/fetsite
Upgraded to Rails 4
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
FactoryGirl.define do
|
||||
FactoryBot.define do
|
||||
factory :meeting do
|
||||
name "MyString"
|
||||
desc "MyText"
|
||||
parent nil
|
||||
intern false
|
||||
meetingtyp nil
|
||||
name {"MyString"}
|
||||
desc {"MyText"}
|
||||
parent {nil}
|
||||
intern {false}
|
||||
meetingtyp {nil}
|
||||
# association :calentry, factory: :calentry
|
||||
|
||||
after(:build) do |c|
|
||||
c.calentry=FactoryGirl.build(:calentry, typ: 2)
|
||||
c.calentry=FactoryBot.build(:calentry, typ: 2)
|
||||
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user