Skip to content

Commit

Permalink
xff
Browse files Browse the repository at this point in the history
  • Loading branch information
satterly committed Apr 7, 2024
1 parent 9e71dd7 commit 112301d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/spec/api_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
it "return 200" do
expect(result.code).to eq(200)
end
it "X-Forwarded-For header is set" do
expect(result.body).to include("X-Forwarded-For")
it "HTTP_X_FORWARDED_FOR envvar is set" do
expect(result.body).to include("HTTP_X_FORWARDED_FOR")
end
end
context "get healthcheck" do
Expand Down

0 comments on commit 112301d

Please sign in to comment.