From 8c51c271461a4451a66a66685a80b481fd5e6563 Mon Sep 17 00:00:00 2001 From: Michael Ball Date: Wed, 24 Feb 2021 02:19:05 -0800 Subject: [PATCH] Skip Admin Dashboard specs since front end metrics are disabled --- spec/controllers/admin/conferences_controller_spec.rb | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/spec/controllers/admin/conferences_controller_spec.rb b/spec/controllers/admin/conferences_controller_spec.rb index c89b646c..9c317476 100644 --- a/spec/controllers/admin/conferences_controller_spec.rb +++ b/spec/controllers/admin/conferences_controller_spec.rb @@ -98,7 +98,8 @@ describe Admin::ConferencesController do expect(response).to render_template :show end - it 'assigns conference withdrawn events distribution to event_type_distribution_withdrawn' do + # TODO (snapcon): This is currently disabled due to slow performance. + skip 'assigns conference withdrawn events distribution to event_type_distribution_withdrawn' do conference create(:event, program: conference.program) workshop = create(:event_type, title: 'Workshop', color: '#000000', program: conference.program) @@ -121,7 +122,8 @@ describe Admin::ConferencesController do expect(assigns(:event_type_distribution_withdrawn)).to eq(result) end - it 'assigns conference withdrawn difficulty level distribution to difficulty_levels_distribution_withdrawn' do + # TODO (snapcon): This is currently disabled due to slow performance. + skip 'assigns conference withdrawn difficulty level distribution to difficulty_levels_distribution_withdrawn' do conference create(:event, program: conference.program) get :show, params: { id: conference.short_title } @@ -144,7 +146,8 @@ describe Admin::ConferencesController do expect(assigns(:difficulty_levels_distribution_withdrawn)).to eq(result) end - it 'assigns conference withdrawn track distribution to tracks_distribution_withdrawn' do + # TODO (snapcon): This is currently disabled due to slow performance. + skip 'assigns conference withdrawn track distribution to tracks_distribution_withdrawn' do conference create(:event, program: conference.program) get :show, params: { id: conference.short_title }