diff options
author | Tiago Botelho <tiagonbotelho@hotmail.com> | 2018-02-13 16:52:00 +0000 |
---|---|---|
committer | Tiago Botelho <tiagonbotelho@hotmail.com> | 2018-02-28 10:46:20 +0000 |
commit | 3f31da9c69c550d1698a1376e37d36f4e6e309b5 (patch) | |
tree | 7ec4fe31dc02e4885eb97464973273358964c742 /spec/support | |
parent | 41bb23ae1d61f1e94749a288d822c93b430ee9c8 (diff) | |
download | gitlab-ce-3f31da9c69c550d1698a1376e37d36f4e6e309b5.tar.gz |
Restrict cycle analytics usage data to instances that use postgres only
Diffstat (limited to 'spec/support')
-rw-r--r-- | spec/support/cycle_analytics_helpers/test_generation.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/cycle_analytics_helpers/test_generation.rb b/spec/support/cycle_analytics_helpers/test_generation.rb index 19b32c84d81..da501a5077a 100644 --- a/spec/support/cycle_analytics_helpers/test_generation.rb +++ b/spec/support/cycle_analytics_helpers/test_generation.rb @@ -50,7 +50,7 @@ module CycleAnalyticsHelpers end median_time_difference = time_differences.sort[2] - expect(subject[phase].median).to be_within(5).of(median_time_difference) + expect(subject[phase].median.presence).to be_within(5).of(median_time_difference) end context "when the data belongs to another project" do |