]> git.openstreetmap.org Git - rails.git/blobdiff - test/integration/user_terms_seen_test.rb
Fix HTML escaping issues with user role icons
[rails.git] / test / integration / user_terms_seen_test.rb
index 51eab5b18947ca0d0d53c635a8aa9a305b17d228..4bffd99de598c9fddde9f754b019908e5cf6ac26 100644 (file)
@@ -64,6 +64,6 @@ class UserTermsSeenTest < ActionDispatch::IntegrationTest
   private
 
   def auth_header(user, pass)
   private
 
   def auth_header(user, pass)
-    { "HTTP_AUTHORIZATION" => format("Basic %{auth}", :auth => Base64.encode64("#{user}:#{pass}")) }
+    { "HTTP_AUTHORIZATION" => format("Basic %<auth>s", :auth => Base64.encode64("#{user}:#{pass}")) }
   end
 end
   end
 end