X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/16da03aacb264c1703d8bd4fab5c58c78745be00..a6b84a0294a2929006ff056f56103be549c5b5a2:/test/integration/user_terms_seen_test.rb?ds=sidebyside diff --git a/test/integration/user_terms_seen_test.rb b/test/integration/user_terms_seen_test.rb index a00ad39d5..3a42aa6bd 100644 --- a/test/integration/user_terms_seen_test.rb +++ b/test/integration/user_terms_seen_test.rb @@ -70,7 +70,7 @@ class UserTermsSeenTest < ActionDispatch::IntegrationTest private def auth_header(user, pass) - { "HTTP_AUTHORIZATION" => "Basic %s" % Base64.encode64("#{user}:#{pass}") } + { "HTTP_AUTHORIZATION" => format("Basic %s", Base64.encode64("#{user}:#{pass}")) } end def with_terms_seen(value)