Fixes Google Calendar feed test. Use the current timezone when checking for DST.

This commit is contained in:
Luke Barratt 2015-04-25 22:35:01 +01:00
parent faefc55457
commit e61c9fbf76

View file

@ -75,7 +75,7 @@ feature 'Google Calendar widget', js: :true do
end
def timezone_adjusted
if Time.now.dst?
if Time.zone.now.dst?
"14:30 EDT"
else
"15:30 EST"