summaryrefslogtreecommitdiff
path: root/spec/db
diff options
context:
space:
mode:
authorKamil Trzciński <ayufan@ayufan.eu>2018-09-06 11:43:12 +0200
committerKamil Trzciński <ayufan@ayufan.eu>2018-09-06 11:43:12 +0200
commitbafe3a6d6a12c5407993e338b89ebd2b4b76b03a (patch)
tree9062e032995bb9ded0ec317d192ac6f90a490084 /spec/db
parent1d0f0cc0ceb2872f23db37ad396ba2d386c91a7b (diff)
downloadgitlab-ce-bafe3a6d6a12c5407993e338b89ebd2b4b76b03a.tar.gz
Fix common_metrics.yml
Diffstat (limited to 'spec/db')
-rw-r--r--spec/db/importers/common_metrics_importer_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/db/importers/common_metrics_importer_spec.rb b/spec/db/importers/common_metrics_importer_spec.rb
index 30945f3ba51..16b59e1dfe8 100644
--- a/spec/db/importers/common_metrics_importer_spec.rb
+++ b/spec/db/importers/common_metrics_importer_spec.rb
@@ -43,7 +43,7 @@ describe Importers::CommonMetricsImporter do
end
it "imports all IDs" do
- expect(PrometheusMetric.common.pluck(:identifier)).to eq(query_ids)
+ expect(PrometheusMetric.common.pluck(:identifier)).to contain_exactly(*query_ids)
end
end