Upgraded to Rails 4

This commit is contained in:
2019-02-24 15:47:27 +01:00
parent f52ec0411d
commit f809f36c06
86 changed files with 732 additions and 662 deletions

View File

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