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/courses.rb

16 lines
261 B

6 years ago
#coding=utf-8
#
FactoryGirl.define do
factory :course do
name 'name'
time '2015'
term 'term'
class_period 1
password '111'
description 'description'
is_public 1
open_student 1
association :teacher, factory: :user
end
end