diff options
author | Peter Leitzen <pleitzen@gitlab.com> | 2019-04-03 10:49:50 +0200 |
---|---|---|
committer | Peter Leitzen <pleitzen@gitlab.com> | 2019-04-04 15:31:07 +0200 |
commit | bd2660bd43021025c3e1d0f70c0a7e1847ef3562 (patch) | |
tree | 2815632fb5be31fdc1c9f6697a90d2073b1ead5d | |
parent | 37773ee8c2140795a8ed36294b431eea7faa63dc (diff) | |
download | gitlab-ce-bd2660bd43021025c3e1d0f70c0a7e1847ef3562.tar.gz |
Ensure using UTC timestamps
-rw-r--r-- | spec/lib/gitlab/prometheus_client_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/prometheus_client_spec.rb b/spec/lib/gitlab/prometheus_client_spec.rb index 247d475f082..2517ee71f24 100644 --- a/spec/lib/gitlab/prometheus_client_spec.rb +++ b/spec/lib/gitlab/prometheus_client_spec.rb @@ -234,7 +234,7 @@ describe Gitlab::PrometheusClient do describe '.compute_step' do using RSpec::Parameterized::TableSyntax - let(:now) { Time.now } + let(:now) { Time.now.utc } subject { described_class.compute_step(start, stop) } |