Update proposals spec to reflect "Submit Proposal" button

This commit is contained in:
Michael Ball 2021-02-23 21:42:42 -08:00
parent c6cb051447
commit 578a3125b7

View file

@ -83,7 +83,7 @@ feature Event do
select('Example Event Type', from: 'event[event_type_id]')
fill_in 'event_abstract', with: 'Lorem ipsum abstract'
click_button 'Create Proposal'
click_button 'Submit Proposal'
page.find('#flash')
expect(page).to have_content 'Proposal was successfully submitted.'
@ -126,7 +126,7 @@ feature Event do
click_link 'Do you require something special?'
fill_in 'event_description', with: 'Lorem ipsum description'
click_button 'Create Proposal'
click_button 'Submit Proposal'
page.find('#flash')
expect(page).to have_content 'Proposal was successfully submitted.'