]> git.openstreetmap.org Git - rails.git/blobdiff - test/integration/user_terms_seen_test.rb
Fix more rubocop style issues
[rails.git] / test / integration / user_terms_seen_test.rb
index a00ad39d57891b7a652f80a657c1a86273e53ac1..3a42aa6bd236df8ac1337abf264bf3c30e357dfd 100644 (file)
@@ -70,7 +70,7 @@ class UserTermsSeenTest < ActionDispatch::IntegrationTest
   private
 
   def auth_header(user, pass)
   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)
   end
 
   def with_terms_seen(value)