Fix some rubocop todos
This commit is contained in:
parent
f881a8c83c
commit
2d3972249c
17 changed files with 48 additions and 70 deletions
|
@ -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 %<auth>s", :auth => Base64.encode64("#{user}:#{pass}")) }
|
||||
end
|
||||
|
||||
def test_api_blocked
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue