Upgraded to Rails 4
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
# Read about factories at https://github.com/thoughtbot/factory_girl
|
||||
|
||||
FactoryGirl.define do
|
||||
FactoryBot.define do
|
||||
factory :foto do
|
||||
title "MyString"
|
||||
desc "MyText"
|
||||
gallery_id 1
|
||||
datei "MyString"
|
||||
title {"MyString"}
|
||||
desc {"MyText"}
|
||||
gallery_id {1}
|
||||
datei {"MyString"}
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user