Commit be5f6655 authored by Pawel Chojnacki's avatar Pawel Chojnacki

Fix prometheus service frontend fixture

parent 9f2c992f
...@@ -11,14 +11,14 @@ describe Projects::ServicesController, '(JavaScript fixtures)', type: :controlle ...@@ -11,14 +11,14 @@ describe Projects::ServicesController, '(JavaScript fixtures)', type: :controlle
render_views render_views
before(:all) do before(:all) do
clean_frontend_fixtures('services/') clean_frontend_fixtures('services/prometheus')
end end
before(:each) do before(:each) do
sign_in(admin) sign_in(admin)
end end
it 'services/prometheus_service.html.raw' do |example| it 'services/prometheus/prometheus_service.html.raw' do |example|
get :edit, get :edit,
namespace_id: namespace, namespace_id: namespace,
project_id: project, project_id: project,
......
...@@ -3,7 +3,7 @@ import PANEL_STATE from '~/prometheus_metrics/constants'; ...@@ -3,7 +3,7 @@ import PANEL_STATE from '~/prometheus_metrics/constants';
import { metrics, missingVarMetrics } from './mock_data'; import { metrics, missingVarMetrics } from './mock_data';
describe('PrometheusMetrics', () => { describe('PrometheusMetrics', () => {
const FIXTURE = 'services/prometheus_service.html.raw'; const FIXTURE = 'services/prometheus/prometheus_service.html.raw';
preloadFixtures(FIXTURE); preloadFixtures(FIXTURE);
beforeEach(() => { beforeEach(() => {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment