socialforge/spec/factories/homepages.rb

11 lines
194 B
Ruby
Raw Normal View History

2016-10-19 18:03:59 +08:00
# Read about factories at https://github.com/thoughtbot/factory_girl
FactoryGirl.define do
factory :homepage do
title "MyString"
content "MyText"
default 1
user nil
end
end