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
|
|
@ -5,7 +5,7 @@ FactoryGirl.define do
|
|||
picture_file_name 'rails.png'
|
||||
picture_content_type 'image/png'
|
||||
picture_file_size '1024'
|
||||
picture_updated_at DateTime.now
|
||||
picture_updated_at { DateTime.now }
|
||||
description 'Lorem Ipsum Dolor'
|
||||
conference
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue