test/web_test.rb in vault-tools-2.0.0 vs test/web_test.rb in vault-tools-2.0.1
- old
+ new
@@ -153,9 +153,10 @@
# requests.
def test_head_status_check
head '/'
assert_equal '1', logged_data['count#test-app.http.200']
assert_equal '1', logged_data['count#test-app.http.2xx']
+ assert_equal '/', logged_data['request_path']
assert_equal(200, last_response.status)
end
# A GET /health request logs success metrics and returns 'OK' in the
# response body.