From 16d9dfef4c61599c35df713c6dfa749ed58659fd Mon Sep 17 00:00:00 2001 From: madhekare Date: Wed, 17 Feb 2021 17:27:41 -0800 Subject: [PATCH] submission_text rspec --- spec/features/proposals_spec.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/spec/features/proposals_spec.rb b/spec/features/proposals_spec.rb index 4d25e9ce..7df6b7d7 100644 --- a/spec/features/proposals_spec.rb +++ b/spec/features/proposals_spec.rb @@ -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'