1
0
mirror of https://github.com/meineerde/rackstash.git synced 2026-02-01 01:37:12 +00:00

Don't fail tests if local timezone is UTC

This commit is contained in:
Holger Just 2019-09-18 00:39:15 +02:00
parent b6e9d0246c
commit 706b391176

View File

@ -243,8 +243,6 @@ RSpec.describe Rackstash::Message do
expect(message.time).to eql time
expect(message.time).not_to equal time
expect(message.time).to be_frozen
# User-supplied time is not enforced to be in UTC
expect(message.time).to_not be_utc
end
it 'defaults to Time.now.utc' do