diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2018-12-20 23:07:26 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2018-12-21 00:53:45 +0800 |
commit | 77b8c2c1768dc7e70a7b5f2bbfdf2b97d78dbfe9 (patch) | |
tree | cee03e051312b66ef524dfe0d4da10c520687133 /spec/initializers | |
parent | 24c9e1e2a85651cd5e446c1f848dad64f3981493 (diff) | |
download | gitlab-ce-77b8c2c1768dc7e70a7b5f2bbfdf2b97d78dbfe9.tar.gz |
Always load the metrics the last
Because this could potentially load a model and we shouldn't
load models before all the patches we have in places.
Diffstat (limited to 'spec/initializers')
-rw-r--r-- | spec/initializers/zz_metrics_spec.rb (renamed from spec/initializers/8_metrics_spec.rb) | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/initializers/8_metrics_spec.rb b/spec/initializers/zz_metrics_spec.rb index 80c77057065..3eaccfe8d8b 100644 --- a/spec/initializers/8_metrics_spec.rb +++ b/spec/initializers/zz_metrics_spec.rb @@ -16,7 +16,7 @@ describe 'instrument_classes' do end it 'can autoload and instrument all files' do - require_relative '../../config/initializers/8_metrics' + require_relative '../../config/initializers/zz_metrics' expect { instrument_classes(config) }.not_to raise_error end end |