From dbc0b80aa486e1f99bcaec389b0013a0d60a8a28 Mon Sep 17 00:00:00 2001 From: Michael Ball Date: Tue, 23 Feb 2021 22:19:26 -0800 Subject: [PATCH] Consistently use "Submit Proposal" wording --- app/views/proposals/_proposal_form.html.haml | 2 +- spec/features/versions_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/proposals/_proposal_form.html.haml b/app/views/proposals/_proposal_form.html.haml index 021b9c76..f385bdeb 100644 --- a/app/views/proposals/_proposal_form.html.haml +++ b/app/views/proposals/_proposal_form.html.haml @@ -64,7 +64,7 @@ %p.text-right - if @event.new_record? - = f.submit 'Create Proposal', class: 'btn btn-success' + = f.submit 'Submit Proposal', class: 'btn btn-success' - else = f.submit 'Update Proposal', class: 'btn btn-success' diff --git a/spec/features/versions_spec.rb b/spec/features/versions_spec.rb index eda602ac..dd4f66ce 100644 --- a/spec/features/versions_spec.rb +++ b/spec/features/versions_spec.rb @@ -182,7 +182,7 @@ feature 'Version' do fill_in 'event_title', with: 'ABC' fill_in 'event_abstract', with: 'Lorem ipsum abstract' select('Talk - 30 min', from: 'event[event_type_id]') - click_button 'Create Proposal' + click_button 'Submit Proposal' click_link 'Edit' fill_in 'event_subtitle', with: 'My event subtitle'