X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/fc6a4d442c1afb519264dbf15e64a4977a68b840..c03ba5f6b8335456c27019e5c7b8299870ecba9c:/test/test_helper.rb diff --git a/test/test_helper.rb b/test/test_helper.rb index 9354e6646..40b2b50bc 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -118,7 +118,7 @@ module ActiveSupport ## # return request header for HTTP Basic Authorization def basic_authorization_header(user, pass) - { "Authorization" => format("Basic %{auth}", :auth => Base64.encode64("#{user}:#{pass}")) } + { "Authorization" => format("Basic %s", :auth => Base64.encode64("#{user}:#{pass}")) } end ##