clarion/spec/factories/events.rb
Petko Bordjukov 89de56d94d Add an initial implementation of the Event model
Initial implementation & specs of the Event model and its children
2014-08-10 21:18:41 +03:00

28 lines
547 B
Ruby

# Read about factories at https://github.com/thoughtbot/factory_girl
FactoryGirl.define do
factory :lecture do
title { |n| "Lecture #{n}" }
subtitle "Lorem Ipsum"
length 45
language "bg_BG"
abstract "An Abstract"
description "A Description"
notes "Some Notes"
track
user
end
factory :workshop do
title { |n| "Workshop #{n}" }
subtitle "Lorem Ipsum"
length 60
language "bg_BG"
abstract "An Abstract"
description "A Description"
notes "Some Notes"
track
user
end
end