Disable RSpec/NoExpectationExample

As discussed below issue, there are many cases of false positives,
and some exsamples are intentionally no expectation.

https://togithub.com/rubocop/rubocop-rspec/issues/1385

```
spec/selector_spec.rb:120:27: C: RSpec/Capybara/SpecificMatcher: Prefer have_no_field over have_no_css.
        expect(string).to have_no_css('input[type="hidden"]')
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
```
This commit is contained in:
ydah 2022-09-23 07:32:11 +09:00
parent 6171a8dbfb
commit e07b2bd712
1 changed files with 3 additions and 0 deletions

View File

@ -166,6 +166,9 @@ RSpec/ContextWording:
RSpec/NestedGroups:
Enabled: false
RSpec/NoExpectationExample:
Enabled: false
RSpec/DescribeClass:
Enabled: false