Added tests for program#any_event_for_this_date?

This commit is contained in:
Naman Gupta 2017-11-17 00:02:23 +05:30 committed by Stella Rouzi
parent 6a1d757f43
commit 6eb8c8d6ae
3 changed files with 51 additions and 3 deletions

View file

@ -5,7 +5,7 @@ FactoryGirl.define do
title { Faker::Book.title }
short_title { SecureRandom.urlsafe_base64(4) }
timezone { Faker::Address.time_zone }
start_date { Date.today }
start_date { Date.current }
end_date { 6.days.from_now }
start_hour 9
end_hour 20