Skip to content

Commit 930b96a

Browse files
authored
Merge pull request #1098 from oieioi/fix-comment-backquotes
Fix incorrect comments as AsciiDoc inline code
2 parents acafbcb + 49b5cdb commit 930b96a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/rubocop/cop/rails/action_controller_test_case.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
module RuboCop
44
module Cop
55
module Rails
6-
# Using `ActionController::TestCase`` is discouraged and should be replaced by
7-
# `ActionDispatch::IntegrationTest``. Controller tests are too close to the
6+
# Using `ActionController::TestCase` is discouraged and should be replaced by
7+
# `ActionDispatch::IntegrationTest`. Controller tests are too close to the
88
# internals of a controller whereas integration tests mimic the browser/user.
99
#
1010
# @safety

lib/rubocop/cop/rails/root_pathname_methods.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ module Rails
1212
# `Style/FileRead`, `Style/FileWrite` and `Rails/RootJoinChain`.
1313
#
1414
# @safety
15-
# This cop is unsafe for autocorrection because `Dir`'s `children`, `each_child`, `entries`, and `glob`
15+
# This cop is unsafe for autocorrection because ``Dir``'s `children`, `each_child`, `entries`, and `glob`
1616
# methods return string element, but these methods of `Pathname` return `Pathname` element.
1717
#
1818
# @example

0 commit comments

Comments
 (0)