Skip to content

Commit 7a26689

Browse files
authored
Merge pull request #45 from rubocop/remove-fixme
Remove temporary fixes in #14
2 parents 82e05ec + fe50d6a commit 7a26689

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

lib/rubocop-rspec_rails.rb

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,3 @@
1313

1414
project_root = File.join(__dir__, '..')
1515
RuboCop::ConfigLoader.inject_defaults!(project_root)
16-
17-
# FIXME: This is a workaround for the following issue:
18-
# https://github.com/rubocop/rubocop-rspec_rails/issues/8
19-
module RuboCop
20-
module Cop
21-
class Registry # rubocop:disable Style/Documentation
22-
prepend(Module.new do
23-
def qualified_cop_name(name, path, warn: true)
24-
return super unless name == 'RSpec/Rails/HttpStatus'
25-
26-
badge = Badge.parse(name)
27-
resolve_badge(badge, qualify_badge(badge).first, path)
28-
end
29-
end)
30-
end
31-
end
32-
end

0 commit comments

Comments
 (0)