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

Fix RuboCop offenses

This commit is contained in:
Tom Milewski 2017-02-12 01:12:28 -05:00
parent d292a1647a
commit 0fd9fc448d
No known key found for this signature in database
GPG key ID: 0C45B110F8B40F20
2 changed files with 3 additions and 3 deletions

View file

@ -5,10 +5,10 @@ gem 'rake', '>= 12.0'
gem 'yard', '>= 0.9' gem 'yard', '>= 0.9'
group :development do group :development do
gem 'kramdown'
gem 'pry'
gem 'benchmark-ips' gem 'benchmark-ips'
gem 'kramdown'
gem 'memory_profiler' gem 'memory_profiler'
gem 'pry'
end end
group :test do group :test do

View file

@ -29,7 +29,7 @@ namespace :perf do
def call_app(path = ENV['GET_PATH'] || '/') def call_app(path = ENV['GET_PATH'] || '/')
result = @app.get(path) result = @app.get(path)
fail "Did not succeed #{result.body}" unless result.status == 200 raise "Did not succeed #{result.body}" unless result.status == 200
result result
end end
end end