Skip to content

Commit 2f46bf1

Browse files
authored
Merge pull request #1274 from rubocop/fix-fresh-rubocop-internal-offences
Fix latest internal affairs offences
2 parents af2fd8a + 56e3e55 commit 2f46bf1

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

config/default.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ RSpec/DescribedClassModuleWrapping:
262262
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/DescribedClassModuleWrapping
263263

264264
RSpec/Dialect:
265-
Description: This cop enforces custom RSpec dialects.
265+
Description: Enforces custom RSpec dialects.
266266
Enabled: false
267267
PreferredMethods: {}
268268
VersionAdded: '1.33'
@@ -793,13 +793,13 @@ RSpec/VerifiedDoubles:
793793
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/VerifiedDoubles
794794

795795
RSpec/VoidExpect:
796-
Description: This cop checks void `expect()`.
796+
Description: Checks void `expect()`.
797797
Enabled: true
798798
VersionAdded: '1.16'
799799
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/VoidExpect
800800

801801
RSpec/Yield:
802-
Description: This cop checks for calling a block within a stub.
802+
Description: Checks for calling a block within a stub.
803803
Enabled: true
804804
VersionAdded: '1.32'
805805
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/Yield

docs/modules/ROOT/pages/cops_rspec.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -810,7 +810,7 @@ end
810810
| -
811811
|===
812812

813-
This cop enforces custom RSpec dialects.
813+
Enforces custom RSpec dialects.
814814

815815
A dialect can be based on the following RSpec methods:
816816

@@ -4508,7 +4508,7 @@ end
45084508
| -
45094509
|===
45104510

4511-
This cop checks void `expect()`.
4511+
Checks void `expect()`.
45124512

45134513
=== Examples
45144514

@@ -4537,7 +4537,7 @@ expect(something).to be(1)
45374537
| -
45384538
|===
45394539

4540-
This cop checks for calling a block within a stub.
4540+
Checks for calling a block within a stub.
45414541

45424542
=== Examples
45434543

lib/rubocop/cop/rspec/dialect.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
module RuboCop
44
module Cop
55
module RSpec
6-
# This cop enforces custom RSpec dialects.
6+
# Enforces custom RSpec dialects.
77
#
88
# A dialect can be based on the following RSpec methods:
99
#

lib/rubocop/cop/rspec/void_expect.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
module RuboCop
44
module Cop
55
module RSpec
6-
# This cop checks void `expect()`.
6+
# Checks void `expect()`.
77
#
88
# @example
99
# # bad

lib/rubocop/cop/rspec/yield.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
module RuboCop
44
module Cop
55
module RSpec
6-
# This cop checks for calling a block within a stub.
6+
# Checks for calling a block within a stub.
77
#
88
# @example
99
# # bad

0 commit comments

Comments
 (0)