Skip to content

Commit

Permalink
Merge pull request #392 from alphagov/dependabot/bundler/rubocop-rspe…
Browse files Browse the repository at this point in the history
…c-eq-3.0.1

Update rubocop-rspec requirement from = 2.31.0 to = 3.0.1
  • Loading branch information
AgaDufrat committed Jun 14, 2024
2 parents 2adfe9f + 4ec3e56 commit 57aaeed
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
10 changes: 8 additions & 2 deletions config/capybara.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
require: rubocop-capybara

# Within GOV.UK we use Capybara test method syntax of feature,
# scenario. We don't want this outside of feature or system specs though.
RSpec/Capybara/FeatureMethods:
# scenario.
Capybara:
Enabled: true

# We don't want this cop outside of feature or system specs though.
RSpec/Dialect:
Exclude:
- 'spec/features/**/*.rb'
- 'spec/system/**/*.rb'
3 changes: 2 additions & 1 deletion rubocop-govuk.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ Gem::Specification.new do |spec|

spec.add_dependency "rubocop", "1.64.1"
spec.add_dependency "rubocop-ast", "1.31.3"
spec.add_dependency "rubocop-capybara", "2.21.0"
spec.add_dependency "rubocop-rails", "2.25.0"
spec.add_dependency "rubocop-rake", "0.6.0"
spec.add_dependency "rubocop-rspec", "2.31.0"
spec.add_dependency "rubocop-rspec", "3.0.1"
end

0 comments on commit 57aaeed

Please sign in to comment.