Merge pull request #6096 from consuldemocracy/dependabot/bundler/rubocop-rspec-3.7.0

Bump rubocop-rspec from 3.4.0 to 3.7.0
This commit is contained in:
Javi Martín
2025-11-05 11:29:16 +01:00
committed by GitHub
4 changed files with 15 additions and 11 deletions

View File

@@ -1,10 +1,10 @@
plugins:
- rubocop-factory_bot
- rubocop-rspec
require:
- rubocop-capybara
- rubocop-performance
- rubocop-rails
- rubocop-rspec
- rubocop-rspec_rails
AllCops:
@@ -624,6 +624,9 @@ RSpec/Focus:
RSpec/HookArgument:
Enabled: true
RSpec/IncludeExamples:
Enabled: true
RSpec/InstanceVariable:
Enabled: true
Exclude:

View File

@@ -108,7 +108,7 @@ group :development do
gem "rubocop-factory_bot", "~> 2.27.1", require: false
gem "rubocop-performance", "~> 1.23.1", require: false
gem "rubocop-rails", "~> 2.29.1", require: false
gem "rubocop-rspec", "~> 3.4.0", require: false
gem "rubocop-rspec", "~> 3.7.0", require: false
gem "rubocop-rspec_rails", "~> 2.30.0", require: false
gem "rvm1-capistrano3", "~> 1.4.0", require: false
gem "web-console", "~> 4.2.1"

View File

@@ -652,8 +652,9 @@ GEM
rack (>= 1.1)
rubocop (>= 1.52.0, < 2.0)
rubocop-ast (>= 1.31.1, < 2.0)
rubocop-rspec (3.4.0)
rubocop (~> 1.61)
rubocop-rspec (3.7.0)
lint_roller (~> 1.1)
rubocop (~> 1.72, >= 1.72.1)
rubocop-rspec_rails (2.30.0)
rubocop (~> 1.61)
rubocop-rspec (~> 3, >= 3.0.1)
@@ -889,7 +890,7 @@ DEPENDENCIES
rubocop-factory_bot (~> 2.27.1)
rubocop-performance (~> 1.23.1)
rubocop-rails (~> 2.29.1)
rubocop-rspec (~> 3.4.0)
rubocop-rspec (~> 3.7.0)
rubocop-rspec_rails (~> 2.30.0)
rvm1-capistrano3 (~> 1.4.0)
sassc-embedded (~> 1.77.5)

View File

@@ -146,7 +146,7 @@ describe "Legislation" do
context "process page" do
context "show" do
include_examples "not published permissions", :legislation_process_path
it_behaves_like "not published permissions", :legislation_process_path
scenario "show view has document present on all phases" do
process = create(:legislation_process)
@@ -311,7 +311,7 @@ describe "Legislation" do
expect(page).not_to have_content("This phase is not open yet")
end
include_examples "not published permissions", :debate_legislation_process_path
it_behaves_like "not published permissions", :debate_legislation_process_path
end
context "draft publication phase" do
@@ -331,7 +331,7 @@ describe "Legislation" do
expect(page).to have_content("Nothing published yet")
end
include_examples "not published permissions", :draft_publication_legislation_process_path
it_behaves_like "not published permissions", :draft_publication_legislation_process_path
end
context "allegations phase" do
@@ -355,7 +355,7 @@ describe "Legislation" do
expect(page).to have_content("Nothing published yet")
end
include_examples "not published permissions", :allegations_legislation_process_path
it_behaves_like "not published permissions", :allegations_legislation_process_path
end
context "final version publication phase" do
@@ -375,7 +375,7 @@ describe "Legislation" do
expect(page).to have_content("Nothing published yet")
end
include_examples "not published permissions", :result_publication_legislation_process_path
it_behaves_like "not published permissions", :result_publication_legislation_process_path
end
context "proposals phase" do
@@ -395,7 +395,7 @@ describe "Legislation" do
expect(page).to have_content("There are no proposals")
end
include_examples "not published permissions", :legislation_process_proposals_path
it_behaves_like "not published permissions", :legislation_process_proposals_path
end
context "Milestones" do