Sha256: a7f6bddc51dec6b6f038ed2fc605592b794b0bd911bb841c7c711be1372dacb1

Contents?: true

Size: 994 Bytes

Versions: 4

Compression:

Stored size: 994 Bytes

Contents

require: rubocop-rspec

inherit_from:
  - capybara.yml

# Analog of: 736b3d295f88b9ba6676fc168b823535582388c2
#
# We should avoid cops that are based on heuristics, since
# it's not clear what action to take to fix an issue.
RSpec/ExampleLength:
  Enabled: false

# We have common cases, such as rake tasks, where we do not
# use a class to the describe the test.
RSpec/DescribeClass:
  Enabled: false

# We accept multiple expectations (within reason), preferring
# them to running mulitple similar tests.
RSpec/MultipleExpectations:
  Enabled: false

# Part of the GOV.UK feature style involves instance variables.
RSpec/InstanceVariable:
  Exclude:
    - 'spec/features/**/*.rb'

# In GOV.UK we quite often test that a class received a method.
RSpec/MessageSpies:
  Enabled: false

# Analog of: 736b3d295f88b9ba6676fc168b823535582388c2
#
# We should avoid cops that are based on heuristics, since
# it's not clear what action to take to fix an issue.
RSpec/NestedGroups:
  Enabled: false

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rubocop-govuk-3.14.0 config/rspec.yml
rubocop-govuk-3.13.0 config/rspec.yml
rubocop-govuk-3.12.0 config/rspec.yml
rubocop-govuk-3.11.0 config/rspec.yml