Skip to content

Commit d831aa4

Browse files
authored
Merge pull request #1637 from Ivanov-Anton/patch-1
Improve documentation for "RSpec/FilePath" cop
2 parents 70a97b1 + 003166f commit d831aa4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/modules/ROOT/pages/cops_rspec.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1953,7 +1953,7 @@ expect { my_app.print_report }.to output('Hello World').to_stdout
19531953
Checks that spec file paths are consistent and well-formed.
19541954

19551955
By default, this checks that spec file paths are consistent with the
1956-
test subject and and enforces that it reflects the described
1956+
test subject and enforces that it reflects the described
19571957
class/module and its optionally called out method.
19581958

19591959
With the configuration option `IgnoreMethods` the called out method will

lib/rubocop/cop/rspec/file_path.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ module RSpec
66
# Checks that spec file paths are consistent and well-formed.
77
#
88
# By default, this checks that spec file paths are consistent with the
9-
# test subject and and enforces that it reflects the described
9+
# test subject and enforces that it reflects the described
1010
# class/module and its optionally called out method.
1111
#
1212
# With the configuration option `IgnoreMethods` the called out method will

0 commit comments

Comments
 (0)