submission_text rspec

This commit is contained in:
madhekare 2021-02-17 17:27:41 -08:00 committed by CactusPuppy
parent b8f531783b
commit 16d9dfef4c
No known key found for this signature in database
GPG key ID: 4B33B0A3E15E2C82

View file

@ -82,6 +82,7 @@ feature Event do
fill_in 'event_title', with: 'Example Proposal'
select('Example Event Type', from: 'event[event_type_id]')
fill_in 'event_abstract', with: 'Lorem ipsum abstract'
fill_in 'event_submission_text', with: 'Lorem ipsum submission'
click_button 'Submit Proposal'
page.find('#flash')
@ -123,6 +124,9 @@ feature Event do
fill_in 'event_abstract', with: 'Lorem ipsum abstract'
expect(page).to have_text('You have used 3 words')
fill_in 'event_submission_text', with: 'Lorem ipsum submission_text'
expect(page).to have_text('Submission description')
click_link 'Do you require something special?'
fill_in 'event_description', with: 'Lorem ipsum description'