]> git.openstreetmap.org Git - rails.git/blobdiff - test/integration/user_blocks_test.rb
Update to leaflet 1.0.2
[rails.git] / test / integration / user_blocks_test.rb
index 38c64df7d333f317a754614654f4ffcfc063020c..9425c690f38125804aafde1c2082af9bf2557158 100644 (file)
@@ -1,10 +1,10 @@
 require "test_helper"
 
 class UserBlocksTest < ActionDispatch::IntegrationTest
-  fixtures :users, :user_blocks, :user_roles
+  fixtures :users, :user_roles
 
   def auth_header(user, pass)
-    { "HTTP_AUTHORIZATION" => "Basic %s" % Base64.encode64("#{user}:#{pass}") }
+    { "HTTP_AUTHORIZATION" => format("Basic %s", Base64.encode64("#{user}:#{pass}")) }
   end
 
   def test_api_blocked