mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-20 18:16:45 +10:00
Rubocop and whitespace
This commit is contained in:
@@ -36,9 +36,9 @@ module Gitlab
|
||||
"git-archive:#{encode(params)}",
|
||||
]
|
||||
end
|
||||
|
||||
|
||||
protected
|
||||
|
||||
|
||||
def encode(hash)
|
||||
Base64.urlsafe_encode64(JSON.dump(hash))
|
||||
end
|
||||
|
||||
@@ -37,7 +37,7 @@ describe Gitlab::Auth, lib: true do
|
||||
ip = 'ip'
|
||||
|
||||
expect(gl_auth).to receive(:rate_limit!).with(ip, success: false, login: login)
|
||||
expect(gl_auth.find(login, 'bar', project: nil, ip: ip)).to eq ([nil, nil])
|
||||
expect(gl_auth.find(login, 'bar', project: nil, ip: ip)).to eq([nil, nil])
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user