Skip to content
Snippets Groups Projects

Add specs ensuring all metric definition key paths are present

All threads resolved!
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -55,9 +55,9 @@ def parse_usage_ping_keys(object, key_path = [])
before do
# Prevent Gitlab::Database::BatchCount from raising exceptions complaining about transactions
allow(ActiveRecord::Base.connection).to receive(:transaction_open?).and_return(false)
allow(Gitlab::Geo).to receive(:enabled?).and_return(true)
stub_licensed_features(requirements: true)
stub_prometheus_queries
allow(Gitlab::Geo).to receive(:enabled?) { true }
end
it 'is included in the Usage Ping hash structure' do
Loading