Skip to content

Commit

Permalink
test: Force time format to avoid UTC edge case
Browse files Browse the repository at this point in the history
  • Loading branch information
hugoabonizio committed Sep 24, 2018
1 parent e9c505d commit 9080f98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/time_spec.cr
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ describe Time do
day: 3,
hour: 1,
minute: 1,
second: 1).to_s
second: 1).to_s("%F %H:%M:%S %:z")

new_time.should eq "2016-05-03 01:01:01 #{current_time.zone.format}"
end
Expand Down

0 comments on commit 9080f98

Please sign in to comment.