summaryrefslogtreecommitdiff
path: root/spec/initializers
diff options
context:
space:
mode:
authorAdam Niedzielski <adamsunday@gmail.com>2017-03-01 18:15:28 +0100
committerAdam Niedzielski <adamsunday@gmail.com>2017-03-01 18:15:28 +0100
commitee318727774dbec75d5506a4b4749fc4236206d5 (patch)
treeb067a3ad0713a0707b20648b1441e9e3c7a583ec /spec/initializers
parentc661df356156240deeef7c2734670ba5f2b4b04b (diff)
downloadgitlab-ce-ee318727774dbec75d5506a4b4749fc4236206d5.tar.gz
Execute metrics initializer earlieretag-notes-polling
This makes sure that Gitlab::Metrics::RackMiddleware is added before Gitlab::EtagCaching::Middleware.
Diffstat (limited to 'spec/initializers')
-rw-r--r--spec/initializers/8_metrics_spec.rb (renamed from spec/initializers/metrics_spec.rb)2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/initializers/metrics_spec.rb b/spec/initializers/8_metrics_spec.rb
index bb595162370..570754621f3 100644
--- a/spec/initializers/metrics_spec.rb
+++ b/spec/initializers/8_metrics_spec.rb
@@ -1,5 +1,5 @@
require 'spec_helper'
-require_relative '../../config/initializers/metrics'
+require_relative '../../config/initializers/8_metrics'
describe 'instrument_classes', lib: true do
let(:config) { double(:config) }