We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b9b5bc commit 489cb2cCopy full SHA for 489cb2c
1 file changed
spec/features/v2/basic_auth_spec.rb
@@ -24,6 +24,12 @@
24
expect(page).to have_http_status(:ok)
25
end
26
27
+ scenario "I visit the homepage with incorrect basic auth bypass header" do
28
+ page.driver.header "some-header", "some-incorrect-value"
29
+ visit "/"
30
+ expect(page).to have_http_status(:unauthorized)
31
+ end
32
+
33
scenario "I visit the healthcheck page without setting authentication" do
34
visit "/healthz"
35
0 commit comments