1
0
Fork 0
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:
Thomas Walpole 2015-12-17 09:42:17 -08:00
parent d6a592f8ea
commit d91dbcc479
3 changed files with 3 additions and 3 deletions

View file

@ -40,7 +40,7 @@ module OmniAuth
end
def name?
!!name # rubocop:disable DoubleNegation
!!name
end
alias_method :valid?, :name?

View file

@ -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

View file

@ -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')