bid已经废弃

gitlab
sw 10 years ago
parent e4b4f640a3
commit 2f2d0a7942

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

Loading…
Cancel
Save