X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/7485b49a3afb5c414249bc288d38396dce49ba15..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 ##