You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pgfqe6ch8/spec/factories/homepages.rb

11 lines
194 B

# 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