Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RuboCop RSpec used to contain departments for Capybara and FactoryBot cops, but those are being split out into rubocop-capybara and rubocop-factory_bot gems respectively. This change updates our gemspec and configuration files to reflect that.
- Loading branch information
Showing
5 changed files
with
21 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
require: | ||
- rubocop-capybara | ||
|
||
Capybara/CurrentPathExpectation: | ||
Enabled: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
require: | ||
- rubocop-factory_bot | ||
|
||
FactoryBot/AttributeDefinedStatically: | ||
Enabled: true | ||
|
||
FactoryBot/CreateList: | ||
Enabled: true | ||
|
||
FactoryBot/FactoryClassName: | ||
Enabled: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters