validate cfp start_date before end_date and end_date before conference.end_date

This commit is contained in:
Stella 2014-11-29 20:00:26 +02:00
parent 1edb4bff9e
commit 6e026746a9
7 changed files with 62 additions and 7 deletions

View file

@ -3,6 +3,6 @@
FactoryGirl.define do
factory :call_for_paper do
start_date { 1.day.ago }
end_date { 7.days.from_now }
end_date { 6.days.from_now }
end
end