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'