bid已经废弃

This commit is contained in:
sw 2015-06-05 09:37:56 +08:00
parent e4b4f640a3
commit 2f2d0a7942
1 changed files with 13 additions and 13 deletions

View File

@ -2,16 +2,16 @@
#
#:author_id, :budget, :deadline, :name, :description, :homework_type, :password
FactoryGirl.define do
factory :homework, class: Bid do
name "test homework"
budget 0
deadline {(Time.now+1.days).strftime('%Y-%m-%d')}
description "description"
homework_type 3
reward_type 3
end
factory :homework_attach, class: HomeworkAttach do
end
end
# FactoryGirl.define do
# factory :homework, class: Bid do
# name "test homework"
# budget 0
# deadline {(Time.now+1.days).strftime('%Y-%m-%d')}
# description "description"
# homework_type 3
# reward_type 3
# end
#
# factory :homework_attach, class: HomeworkAttach do
# end
# end