]> git.openstreetmap.org Git - rails.git/blobdiff - test/integration/user_blocks_test.rb
Bump aws-sdk-s3 from 1.78.0 to 1.79.0
[rails.git] / test / integration / user_blocks_test.rb
index 3bc6ded98b74b164f9af4ba62cbfc6e8879713cf..ce67e74ba5455efef6efce6e91e869a8c747678b 100644 (file)
@@ -2,7 +2,7 @@ require "test_helper"
 
 class UserBlocksTest < ActionDispatch::IntegrationTest
   def auth_header(user, pass)
 
 class UserBlocksTest < ActionDispatch::IntegrationTest
   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
 
   def test_api_blocked
   end
 
   def test_api_blocked