-
Notifications
You must be signed in to change notification settings - Fork 1
/
rubocop-capybara.yml
38 lines (29 loc) · 1.19 KB
/
rubocop-capybara.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#
## https://github.com/rubocop/rubocop-capybara/
#
require: rubocop-capybara
# https://docs.rubocop.org/rubocop-rspec/cops_rspec_capybara.html#rspeccapybaraspecificmatcher
Capybara/SpecificMatcher:
Enabled: true
# https://docs.rubocop.org/rubocop-rspec/cops_rspec_capybara.html#rspeccapybaraspecificfinders
Capybara/SpecificFinders:
Enabled: true
# https://docs.rubocop.org/rubocop-rspec/cops_rspec_capybara.html#rspeccapybaranegationmatcher
Capybara/NegationMatcher:
Enabled: true
EnforcedStyle: have_no
# https://docs.rubocop.org/rubocop-rspec/cops_rspec_capybara.html#rspeccapybaraspecificactions
Capybara/SpecificActions:
Enabled: true
# https://docs.rubocop.org/rubocop-rspec/cops_rspec_capybara.html#rspeccapybaramatchstyle
Capybara/MatchStyle:
Enabled: true
# https://docs.rubocop.org/rubocop-capybara/cops_capybara_rspec.html#capybararspecpredicatematcher
Capybara/RSpec/PredicateMatcher:
Enabled: true
# https://docs.rubocop.org/rubocop-capybara/cops_capybara_rspec.html#capybararspechaveselector
Capybara/RSpec/HaveSelector:
Enabled: true
# https://docs.rubocop.org/rubocop-capybara/cops_capybara.html#capybaraclicklinkorbuttonstyle
Capybara/ClickLinkOrButtonStyle:
Enabled: true