Skip to content

Commit

Permalink
Fixing features in spec folder.
Browse files Browse the repository at this point in the history
  • Loading branch information
zaparka committed Jan 8, 2018
1 parent 6d87750 commit cec1a22
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions spec/features/pages/contact_question_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

context 'completing the form correctly' do
before do
fill_in :contact_email, with: '[email protected]'
click_button 'Continue'
end

Expand Down
2 changes: 1 addition & 1 deletion spec/features/pages/summary_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
end

scenario 'I expect confirmation ' do
expect(page).to have_content 'ContactContact details not provided'
expect(page).to have_content 'Enter a valid email address'
end
end

Expand Down

0 comments on commit cec1a22

Please sign in to comment.