diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index ce6105cc..c7914181 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -34,6 +34,8 @@ Metrics/BlockLength: # Configuration parameters: CountComments, CountAsOne. Metrics/ClassLength: Max: 2006 + Exclude: + - 'test/sendgrid/test_sendgrid-ruby.rb' # Offense count: 41 # Configuration parameters: CountComments, CountAsOne, ExcludedMethods. diff --git a/test/sendgrid/test_sendgrid-ruby.rb b/test/sendgrid/test_sendgrid-ruby.rb index fd4d6e4e..048be985 100644 --- a/test/sendgrid/test_sendgrid-ruby.rb +++ b/test/sendgrid/test_sendgrid-ruby.rb @@ -52,7 +52,6 @@ def test_init_when_http_options_is_given sg = SendGrid::API.new(api_key: 'SENDGRID_API_KEY', host: 'https://api.test.com', request_headers: headers, version: 'v3', http_options: http_options) sg.client.get - assert_equal(40, sg.client.http.open_timeout) assert_equal(40, sg.client.http.read_timeout) end