From f2fce210ca65b226f66831afbedb8d67bae4b9cf Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 4 Nov 2024 22:07:28 -0800 Subject: [PATCH] build(deps-dev): bump rspec-rails from 6.1.4 to 7.0.1 (#3951) * build(deps-dev): bump rspec-rails from 6.1.4 to 7.0.1 Bumps [rspec-rails](https://github.com/rspec/rspec-rails) from 6.1.4 to 7.0.1. - [Changelog](https://github.com/rspec/rspec-rails/blob/main/Changelog.md) - [Commits](https://github.com/rspec/rspec-rails/compare/v6.1.4...v7.0.1) --- updated-dependencies: - dependency-name: rspec-rails dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * Resolve `include() is not supported, please supply an argument` by moving the expected value to the same line as the word include --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: M. Oleske --- Gemfile | 2 +- Gemfile.lock | 14 +++++++------- .../controllers/runtime/routes_controller_spec.rb | 3 +-- .../services/service_instances_controller_spec.rb | 12 ++++-------- 4 files changed, 13 insertions(+), 18 deletions(-) diff --git a/Gemfile b/Gemfile index f57dfbf45de..94578442080 100644 --- a/Gemfile +++ b/Gemfile @@ -83,7 +83,7 @@ group :test do gem 'rspec-collection_matchers' gem 'rspec-instafail' gem 'rspec-its' - gem 'rspec-rails', '~> 6.1.4' + gem 'rspec-rails', '~> 7.0.1' gem 'rspec-wait' gem 'rubocop', '~> 1.67.0' gem 'rubocop-capybara' diff --git a/Gemfile.lock b/Gemfile.lock index 81249e7f1f7..17c4903c6ed 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -444,9 +444,9 @@ GEM rspec-mocks (~> 3.13.0) rspec-collection_matchers (1.2.1) rspec-expectations (>= 2.99.0.beta1) - rspec-core (3.13.0) + rspec-core (3.13.1) rspec-support (~> 3.13.0) - rspec-expectations (3.13.1) + rspec-expectations (3.13.2) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.13.0) rspec-instafail (1.0.0) @@ -457,10 +457,10 @@ GEM rspec-mocks (3.13.1) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.13.0) - rspec-rails (6.1.4) - actionpack (>= 6.1) - activesupport (>= 6.1) - railties (>= 6.1) + rspec-rails (7.0.1) + actionpack (>= 7.0) + activesupport (>= 7.0) + railties (>= 7.0) rspec-core (~> 3.13) rspec-expectations (~> 3.13) rspec-mocks (~> 3.13) @@ -657,7 +657,7 @@ DEPENDENCIES rspec-collection_matchers rspec-instafail rspec-its - rspec-rails (~> 6.1.4) + rspec-rails (~> 7.0.1) rspec-wait rspec_api_documentation (>= 6.1.0) rubocop (~> 1.67.0) diff --git a/spec/unit/controllers/runtime/routes_controller_spec.rb b/spec/unit/controllers/runtime/routes_controller_spec.rb index 86e7b8a6c02..d47d8e654d8 100644 --- a/spec/unit/controllers/runtime/routes_controller_spec.rb +++ b/spec/unit/controllers/runtime/routes_controller_spec.rb @@ -244,8 +244,7 @@ module VCAP::CloudController expect(last_response).to have_status_code 400 expect(last_response.body).to include 'AssociationNotEmpty' - expect(last_response.body).to include - 'Please delete the service_instance associations for your routes' + expect(last_response.body).to include 'Please delete the service_instance associations for your routes' end end end diff --git a/spec/unit/controllers/services/service_instances_controller_spec.rb b/spec/unit/controllers/services/service_instances_controller_spec.rb index bbd00efa930..d66f8a896bd 100644 --- a/spec/unit/controllers/services/service_instances_controller_spec.rb +++ b/spec/unit/controllers/services/service_instances_controller_spec.rb @@ -2925,8 +2925,7 @@ def stub_delete_and_return(status, body) expect(last_response).to have_status_code 400 expect(last_response.body).to include 'AssociationNotEmpty' - expect(last_response.body).to include - 'Please delete the service_bindings, service_keys, and routes associations for your service_instances' + expect(last_response.body).to include 'Please delete the service_bindings, service_keys, and routes associations for your service_instances' end context 'and recursive=true' do @@ -3018,8 +3017,7 @@ def stub_delete_and_return(status, body) expect(last_response).to have_status_code 400 expect(last_response.body).to include 'AssociationNotEmpty' - expect(last_response.body).to include - 'Please delete the service_bindings, service_keys, and routes associations for your service_instances' + expect(last_response.body).to include 'Please delete the service_bindings, service_keys, and routes associations for your service_instances' end end @@ -3052,8 +3050,7 @@ def stub_delete_and_return(status, body) expect(last_response).to have_status_code 400 expect(last_response.body).to include 'AssociationNotEmpty' - expect(last_response.body).to include - 'Please delete the service_bindings, service_keys, and routes associations for your service_instances' + expect(last_response.body).to include 'Please delete the service_bindings, service_keys, and routes associations for your service_instances' end end @@ -3697,8 +3694,7 @@ def stub_delete_and_return(status, body) expect(last_response).to have_status_code 400 expect(last_response.body).to include 'AssociationNotEmpty' - expect(last_response.body).to include - 'Please delete the service_bindings, service_keys, and routes associations for your service_instances' + expect(last_response.body).to include 'Please delete the service_bindings, service_keys, and routes associations for your service_instances' end context 'when recursive=true' do