Skip Admin Dashboard specs since front end metrics are disabled
This commit is contained in:
parent
49821fff52
commit
8c51c27146
1 changed files with 6 additions and 3 deletions
|
|
@ -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 }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue