bid已经废弃
This commit is contained in:
parent
e4b4f640a3
commit
2f2d0a7942
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue