15 lines
360 B
Ruby
15 lines
360 B
Ruby
# frozen_string_literal: true
|
|
|
|
require 'spec_helper'
|
|
|
|
describe 'Import metrics on production seed' do
|
|
subject { load Rails.root.join('db', 'fixtures', 'production', '999_common_metrics.rb') }
|
|
|
|
it "imports all prometheus metrics" do
|
|
expect(PrometheusMetric.common).to be_empty
|
|
|
|
subject
|
|
|
|
expect(PrometheusMetric.common).not_to be_empty
|
|
end
|
|
end
|