test/web_test.rb in vault-tools-0.5.14 vs test/web_test.rb in vault-tools-0.5.15
- old
+ new
@@ -95,9 +95,12 @@
end
get '/protected'
assert_equal 401, last_response.status
+ head '/unprotected/Bob'
+ assert_equal 200, last_response.status
+
get '/unprotected/Bob'
assert_equal 200, last_response.status
assert_equal 'You may pass Bob', last_response.body
authorize('','password')