X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/783b5e3729228908d7404ae7404af1023501a906..737126a14061901adaaa02d83c74c70a96406280:/test/integration/user_blocks_test.rb?ds=sidebyside diff --git a/test/integration/user_blocks_test.rb b/test/integration/user_blocks_test.rb index 3bc6ded98..ce67e74ba 100644 --- a/test/integration/user_blocks_test.rb +++ b/test/integration/user_blocks_test.rb @@ -2,7 +2,7 @@ require "test_helper" class UserBlocksTest < ActionDispatch::IntegrationTest def auth_header(user, pass) - { "HTTP_AUTHORIZATION" => format("Basic %{auth}", :auth => Base64.encode64("#{user}:#{pass}")) } + { "HTTP_AUTHORIZATION" => format("Basic %s", :auth => Base64.encode64("#{user}:#{pass}")) } end def test_api_blocked