Skip to content

Commit ce0376d

Browse files
committed
cops
1 parent d298a7f commit ce0376d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Rakefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ task :rubocorrect do
1515
end
1616

1717
desc 'run minitest'
18-
task :rubocop do
18+
task :minitest do
1919
Rake::Task[:test].invoke
2020
end
2121

lib/ruby_http_client.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class Client
3838
# - +proxy_options+ -> A hash of proxy settings.
3939
# (e.g. { host: '127.0.0.1', port: 8080 })
4040
#
41-
def initialize(host: nil, request_headers: nil, version: nil, url_path: nil, http_options: {}, proxy_options: {})
41+
def initialize(host: nil, request_headers: nil, version: nil, url_path: nil, http_options: {}, proxy_options: {}) # rubocop:disable Metrics/ParameterLists
4242
@host = host
4343
@request_headers = request_headers || {}
4444
@version = version

test/test_ruby_http_client.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ def test_troubleshooting_exists
274274
end
275275

276276
def test_use_cases_exists
277-
assert(File.file?('./USE_CASES.md'))
277+
assert(File.file?('use_cases/README.md'))
278278
end
279279

280280
def test_license_date_is_updated

0 commit comments

Comments
 (0)