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:
@@ -1,10 +1,10 @@
|
|||||||
plugins:
|
plugins:
|
||||||
- rubocop-factory_bot
|
- rubocop-factory_bot
|
||||||
|
- rubocop-rspec
|
||||||
require:
|
require:
|
||||||
- rubocop-capybara
|
- rubocop-capybara
|
||||||
- rubocop-performance
|
- rubocop-performance
|
||||||
- rubocop-rails
|
- rubocop-rails
|
||||||
- rubocop-rspec
|
|
||||||
- rubocop-rspec_rails
|
- rubocop-rspec_rails
|
||||||
|
|
||||||
AllCops:
|
AllCops:
|
||||||
@@ -624,6 +624,9 @@ RSpec/Focus:
|
|||||||
RSpec/HookArgument:
|
RSpec/HookArgument:
|
||||||
Enabled: true
|
Enabled: true
|
||||||
|
|
||||||
|
RSpec/IncludeExamples:
|
||||||
|
Enabled: true
|
||||||
|
|
||||||
RSpec/InstanceVariable:
|
RSpec/InstanceVariable:
|
||||||
Enabled: true
|
Enabled: true
|
||||||
Exclude:
|
Exclude:
|
||||||
|
|||||||
2
Gemfile
2
Gemfile
@@ -108,7 +108,7 @@ group :development do
|
|||||||
gem "rubocop-factory_bot", "~> 2.27.1", require: false
|
gem "rubocop-factory_bot", "~> 2.27.1", require: false
|
||||||
gem "rubocop-performance", "~> 1.23.1", require: false
|
gem "rubocop-performance", "~> 1.23.1", require: false
|
||||||
gem "rubocop-rails", "~> 2.29.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 "rubocop-rspec_rails", "~> 2.30.0", require: false
|
||||||
gem "rvm1-capistrano3", "~> 1.4.0", require: false
|
gem "rvm1-capistrano3", "~> 1.4.0", require: false
|
||||||
gem "web-console", "~> 4.2.1"
|
gem "web-console", "~> 4.2.1"
|
||||||
|
|||||||
@@ -652,8 +652,9 @@ GEM
|
|||||||
rack (>= 1.1)
|
rack (>= 1.1)
|
||||||
rubocop (>= 1.52.0, < 2.0)
|
rubocop (>= 1.52.0, < 2.0)
|
||||||
rubocop-ast (>= 1.31.1, < 2.0)
|
rubocop-ast (>= 1.31.1, < 2.0)
|
||||||
rubocop-rspec (3.4.0)
|
rubocop-rspec (3.7.0)
|
||||||
rubocop (~> 1.61)
|
lint_roller (~> 1.1)
|
||||||
|
rubocop (~> 1.72, >= 1.72.1)
|
||||||
rubocop-rspec_rails (2.30.0)
|
rubocop-rspec_rails (2.30.0)
|
||||||
rubocop (~> 1.61)
|
rubocop (~> 1.61)
|
||||||
rubocop-rspec (~> 3, >= 3.0.1)
|
rubocop-rspec (~> 3, >= 3.0.1)
|
||||||
@@ -889,7 +890,7 @@ DEPENDENCIES
|
|||||||
rubocop-factory_bot (~> 2.27.1)
|
rubocop-factory_bot (~> 2.27.1)
|
||||||
rubocop-performance (~> 1.23.1)
|
rubocop-performance (~> 1.23.1)
|
||||||
rubocop-rails (~> 2.29.1)
|
rubocop-rails (~> 2.29.1)
|
||||||
rubocop-rspec (~> 3.4.0)
|
rubocop-rspec (~> 3.7.0)
|
||||||
rubocop-rspec_rails (~> 2.30.0)
|
rubocop-rspec_rails (~> 2.30.0)
|
||||||
rvm1-capistrano3 (~> 1.4.0)
|
rvm1-capistrano3 (~> 1.4.0)
|
||||||
sassc-embedded (~> 1.77.5)
|
sassc-embedded (~> 1.77.5)
|
||||||
|
|||||||
@@ -146,7 +146,7 @@ describe "Legislation" do
|
|||||||
|
|
||||||
context "process page" do
|
context "process page" do
|
||||||
context "show" 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
|
scenario "show view has document present on all phases" do
|
||||||
process = create(:legislation_process)
|
process = create(:legislation_process)
|
||||||
@@ -311,7 +311,7 @@ describe "Legislation" do
|
|||||||
expect(page).not_to have_content("This phase is not open yet")
|
expect(page).not_to have_content("This phase is not open yet")
|
||||||
end
|
end
|
||||||
|
|
||||||
include_examples "not published permissions", :debate_legislation_process_path
|
it_behaves_like "not published permissions", :debate_legislation_process_path
|
||||||
end
|
end
|
||||||
|
|
||||||
context "draft publication phase" do
|
context "draft publication phase" do
|
||||||
@@ -331,7 +331,7 @@ describe "Legislation" do
|
|||||||
expect(page).to have_content("Nothing published yet")
|
expect(page).to have_content("Nothing published yet")
|
||||||
end
|
end
|
||||||
|
|
||||||
include_examples "not published permissions", :draft_publication_legislation_process_path
|
it_behaves_like "not published permissions", :draft_publication_legislation_process_path
|
||||||
end
|
end
|
||||||
|
|
||||||
context "allegations phase" do
|
context "allegations phase" do
|
||||||
@@ -355,7 +355,7 @@ describe "Legislation" do
|
|||||||
expect(page).to have_content("Nothing published yet")
|
expect(page).to have_content("Nothing published yet")
|
||||||
end
|
end
|
||||||
|
|
||||||
include_examples "not published permissions", :allegations_legislation_process_path
|
it_behaves_like "not published permissions", :allegations_legislation_process_path
|
||||||
end
|
end
|
||||||
|
|
||||||
context "final version publication phase" do
|
context "final version publication phase" do
|
||||||
@@ -375,7 +375,7 @@ describe "Legislation" do
|
|||||||
expect(page).to have_content("Nothing published yet")
|
expect(page).to have_content("Nothing published yet")
|
||||||
end
|
end
|
||||||
|
|
||||||
include_examples "not published permissions", :result_publication_legislation_process_path
|
it_behaves_like "not published permissions", :result_publication_legislation_process_path
|
||||||
end
|
end
|
||||||
|
|
||||||
context "proposals phase" do
|
context "proposals phase" do
|
||||||
@@ -395,7 +395,7 @@ describe "Legislation" do
|
|||||||
expect(page).to have_content("There are no proposals")
|
expect(page).to have_content("There are no proposals")
|
||||||
end
|
end
|
||||||
|
|
||||||
include_examples "not published permissions", :legislation_process_proposals_path
|
it_behaves_like "not published permissions", :legislation_process_proposals_path
|
||||||
end
|
end
|
||||||
|
|
||||||
context "Milestones" do
|
context "Milestones" do
|
||||||
|
|||||||
Reference in New Issue
Block a user