clarion/spec/factories/conferences.rb

12 lines
269 B
Ruby
Raw Normal View History

# Read about factories at https://github.com/thoughtbot/factory_girl
FactoryGirl.define do
factory :conference do
title { |n| "Conference-#{n}"}
email
description 'MyText'
start_date '2014-07-29 21:29:13'
end_date '2014-07-31 21:29:13'
end
end