Skip to content

Commit 690aad6

Browse files
Add feature test for not found page
Just a sanity check to make sure the asset pipeline is wired up correctly
1 parent e043b94 commit 690aad6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

spec/features/viewing_pages_spec.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,10 @@
1515
expect(page).to have_content('Your privacy means a lot to us')
1616
end
1717

18+
scenario 'can access page not found', js: true do
19+
visit '/does_not_exist'
20+
21+
expect(page).to have_content('Page not found')
22+
end
23+
1824
end

0 commit comments

Comments
 (0)