]> git.openstreetmap.org Git - rails.git/blobdiff - test/test_helper.rb
Update bundle
[rails.git] / test / test_helper.rb
index 9354e664600cd87eccfe4d3107b125bb4b692005..40b2b50bc7911f985121862aa6b9dea8fa6ad812 100644 (file)
@@ -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 %<auth>s", :auth => Base64.encode64("#{user}:#{pass}")) }
     end
 
     ##