Skip to content

Commit 3a2088f

Browse files
authored
Merge pull request #890 from koic/fix_offenses_using_rubocop_0_81
Fix an offenses when using RuboCop 0.81.0
2 parents 8c6af61 + 478ab25 commit 3a2088f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/rubocop/cop/rspec/cop.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# frozen_string_literal: true
22

33
module RuboCop
4-
module Cop # rubocop:disable Style/Documentation
4+
module Cop
55
WorkaroundCop = Cop.dup
66

77
# Clone of the the normal RuboCop::Cop::Cop class so we can rewrite

lib/rubocop/cop/rspec_cops.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
begin
1212
require_relative 'rspec/rails/http_status'
13-
rescue LoadError # rubocop:disable Lint/SuppressedException
13+
rescue LoadError
1414
# Rails/HttpStatus cannot be loaded if rack/utils is unavailable.
1515
end
1616

0 commit comments

Comments
 (0)