Implements timecop to make tests independent from DateTime (close #327)
This commit is contained in:
parent
ade64f339f
commit
7c51d1a42f
14 changed files with 42 additions and 38 deletions
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
FactoryGirl.define do
|
||||
factory :call_for_papers do
|
||||
start_date Date.today - 1
|
||||
end_date Date.today + 7
|
||||
start_date { 1.day.ago }
|
||||
end_date { 7.days.from_now }
|
||||
description 'We call for papers'
|
||||
conference
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue