Skip to content

Commit

Permalink
Add feature test for not found page
Browse files Browse the repository at this point in the history
Just a sanity check to make sure the asset pipeline is wired up correctly
  • Loading branch information
asideofcode-dev committed Aug 15, 2023
1 parent 447117c commit c13371e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions spec/features/viewing_pages_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,10 @@
expect(page).to have_content('Your privacy means a lot to us')
end

scenario 'can access page not found', js: true do
visit '/does_not_exist'

expect(page).to have_content('Page not found')
end

end

0 comments on commit c13371e

Please sign in to comment.