1
0
Fork 0
mirror of https://github.com/omniauth/omniauth.git synced 2022-11-09 12:31:49 -05:00

Fix RuboCop offenses introduced in version 0.22.0

This commit is contained in:
tmilewski 2014-05-30 14:42:00 -04:00
parent 60f2c9d545
commit edc97c636a
6 changed files with 20 additions and 15 deletions

View file

@ -5,7 +5,7 @@ describe OmniAuth::Strategies::Developer do
Rack::Builder.new do |b|
b.use Rack::Session::Cookie, :secret => 'abc123'
b.use OmniAuth::Strategies::Developer
b.run lambda { |env| [200, {}, ['Not Found']] }
b.run lambda { |_env| [200, {}, ['Not Found']] }
end.to_app
end
@ -52,7 +52,7 @@ describe OmniAuth::Strategies::Developer do
Rack::Builder.new do |b|
b.use Rack::Session::Cookie, :secret => 'abc123'
b.use OmniAuth::Strategies::Developer, :fields => [:first_name, :last_name], :uid_field => :last_name
b.run lambda { |env| [200, {}, ['Not Found']] }
b.run lambda { |_env| [200, {}, ['Not Found']] }
end.to_app
end