Skip to content

Commit

Permalink
Bring back deleted middleware test
Browse files Browse the repository at this point in the history
  • Loading branch information
ghiculescu committed Sep 6, 2024
1 parent 88dc93e commit f1057f0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions railties/test/commands/middleware_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,12 @@ def app
assert_includes middleware, "ActionDispatch::AssumeSSL"
end

test "ActionDispatch::SSL is present when force_ssl is set" do
add_to_config "config.force_ssl = true"
boot!
assert_includes middleware, "ActionDispatch::SSL"
end

test "silence healthcheck" do
add_to_config "config.silence_healthcheck_path = '/up'"
boot!
Expand Down

0 comments on commit f1057f0

Please sign in to comment.