mirror of
https://github.com/omniauth/omniauth.git
synced 2022-11-09 12:31:49 -05:00
fix rubocop errors
This commit is contained in:
parent
d6a592f8ea
commit
d91dbcc479
3 changed files with 3 additions and 3 deletions
|
@ -40,7 +40,7 @@ module OmniAuth
|
|||
end
|
||||
|
||||
def name?
|
||||
!!name # rubocop:disable DoubleNegation
|
||||
!!name
|
||||
end
|
||||
alias_method :valid?, :name?
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
module OmniAuth
|
||||
class Form # rubocop:disable ClassLength
|
||||
class Form
|
||||
DEFAULT_CSS = File.read(File.expand_path('../form.css', __FILE__))
|
||||
|
||||
attr_accessor :options
|
||||
|
|
|
@ -607,7 +607,7 @@ describe OmniAuth::Strategy do
|
|||
|
||||
it 'responds with a provider-specific hash if one is set' do
|
||||
OmniAuth.config.mock_auth[:test] = {
|
||||
'uid' => 'abc',
|
||||
'uid' => 'abc'
|
||||
}
|
||||
|
||||
strategy.call make_env('/auth/test/callback')
|
||||
|
|
Loading…
Reference in a new issue