Delinting

This commit is contained in:
Michael Ball 2021-04-17 17:29:58 -07:00
parent 5a3012f0b7
commit 4c056f208e
2 changed files with 8 additions and 8 deletions

View file

@ -169,11 +169,11 @@ class ProposalsController < ApplicationController
private private
def event_params def event_params
# TODO-SNAPCON: Restrict committee review to admins. # TODO-SNAPCON: Restrict committee review to admins.
params.require(:event).permit(:event_type_id, :track_id, :difficulty_level_id, params.require(:event).permit(:event_type_id, :track_id, :difficulty_level_id,
:title, :subtitle, :abstract, :submission_text, :description, :title, :subtitle, :abstract, :submission_text, :description,
:require_registration, :max_attendees, :language, :require_registration, :max_attendees, :language,
:committee_review, speaker_ids: [], volunteer_ids: []) :committee_review, speaker_ids: [], volunteer_ids: [])
end end
def user_params def user_params

View file

@ -135,9 +135,9 @@ describe EmailSettings do
context 'conference has event' do context 'conference has event' do
before do before do
event_hash = { event_hash = {
'eventtitle': 'Talk about talks', 'eventtitle': 'Talk about talks',
'proposalslink': 'http://localhost:3000/conferences/goto/program/proposals', 'proposalslink': 'http://localhost:3000/conferences/goto/program/proposals',
'committee_review': '', 'committee_review': '',
'committee_review_html': '' 'committee_review_html': ''
} }
expected_hash.merge!(event_hash) expected_hash.merge!(event_hash)