Fix prometheus service frontend fixture

This commit is contained in:
Pawel Chojnacki 2017-06-16 18:26:40 +02:00
parent 9f2c992ff1
commit be5f665557
2 changed files with 3 additions and 3 deletions

View file

@ -11,14 +11,14 @@ describe Projects::ServicesController, '(JavaScript fixtures)', type: :controlle
render_views
before(:all) do
clean_frontend_fixtures('services/')
clean_frontend_fixtures('services/prometheus')
end
before(:each) do
sign_in(admin)
end
it 'services/prometheus_service.html.raw' do |example|
it 'services/prometheus/prometheus_service.html.raw' do |example|
get :edit,
namespace_id: namespace,
project_id: project,

View file

@ -3,7 +3,7 @@ import PANEL_STATE from '~/prometheus_metrics/constants';
import { metrics, missingVarMetrics } from './mock_data';
describe('PrometheusMetrics', () => {
const FIXTURE = 'services/prometheus_service.html.raw';
const FIXTURE = 'services/prometheus/prometheus_service.html.raw';
preloadFixtures(FIXTURE);
beforeEach(() => {