Skip to content

Commit f2fce21

Browse files
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](rspec/rspec-rails@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] <[email protected]> * 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] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: M. Oleske <[email protected]>
1 parent d84cd86 commit f2fce21

File tree

4 files changed

+13
-18
lines changed

4 files changed

+13
-18
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ group :test do
8383
gem 'rspec-collection_matchers'
8484
gem 'rspec-instafail'
8585
gem 'rspec-its'
86-
gem 'rspec-rails', '~> 6.1.4'
86+
gem 'rspec-rails', '~> 7.0.1'
8787
gem 'rspec-wait'
8888
gem 'rubocop', '~> 1.67.0'
8989
gem 'rubocop-capybara'

Gemfile.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -444,9 +444,9 @@ GEM
444444
rspec-mocks (~> 3.13.0)
445445
rspec-collection_matchers (1.2.1)
446446
rspec-expectations (>= 2.99.0.beta1)
447-
rspec-core (3.13.0)
447+
rspec-core (3.13.1)
448448
rspec-support (~> 3.13.0)
449-
rspec-expectations (3.13.1)
449+
rspec-expectations (3.13.2)
450450
diff-lcs (>= 1.2.0, < 2.0)
451451
rspec-support (~> 3.13.0)
452452
rspec-instafail (1.0.0)
@@ -457,10 +457,10 @@ GEM
457457
rspec-mocks (3.13.1)
458458
diff-lcs (>= 1.2.0, < 2.0)
459459
rspec-support (~> 3.13.0)
460-
rspec-rails (6.1.4)
461-
actionpack (>= 6.1)
462-
activesupport (>= 6.1)
463-
railties (>= 6.1)
460+
rspec-rails (7.0.1)
461+
actionpack (>= 7.0)
462+
activesupport (>= 7.0)
463+
railties (>= 7.0)
464464
rspec-core (~> 3.13)
465465
rspec-expectations (~> 3.13)
466466
rspec-mocks (~> 3.13)
@@ -657,7 +657,7 @@ DEPENDENCIES
657657
rspec-collection_matchers
658658
rspec-instafail
659659
rspec-its
660-
rspec-rails (~> 6.1.4)
660+
rspec-rails (~> 7.0.1)
661661
rspec-wait
662662
rspec_api_documentation (>= 6.1.0)
663663
rubocop (~> 1.67.0)

spec/unit/controllers/runtime/routes_controller_spec.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,8 +244,7 @@ module VCAP::CloudController
244244

245245
expect(last_response).to have_status_code 400
246246
expect(last_response.body).to include 'AssociationNotEmpty'
247-
expect(last_response.body).to include
248-
'Please delete the service_instance associations for your routes'
247+
expect(last_response.body).to include 'Please delete the service_instance associations for your routes'
249248
end
250249
end
251250
end

spec/unit/controllers/services/service_instances_controller_spec.rb

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2925,8 +2925,7 @@ def stub_delete_and_return(status, body)
29252925

29262926
expect(last_response).to have_status_code 400
29272927
expect(last_response.body).to include 'AssociationNotEmpty'
2928-
expect(last_response.body).to include
2929-
'Please delete the service_bindings, service_keys, and routes associations for your service_instances'
2928+
expect(last_response.body).to include 'Please delete the service_bindings, service_keys, and routes associations for your service_instances'
29302929
end
29312930

29322931
context 'and recursive=true' do
@@ -3018,8 +3017,7 @@ def stub_delete_and_return(status, body)
30183017

30193018
expect(last_response).to have_status_code 400
30203019
expect(last_response.body).to include 'AssociationNotEmpty'
3021-
expect(last_response.body).to include
3022-
'Please delete the service_bindings, service_keys, and routes associations for your service_instances'
3020+
expect(last_response.body).to include 'Please delete the service_bindings, service_keys, and routes associations for your service_instances'
30233021
end
30243022
end
30253023

@@ -3052,8 +3050,7 @@ def stub_delete_and_return(status, body)
30523050

30533051
expect(last_response).to have_status_code 400
30543052
expect(last_response.body).to include 'AssociationNotEmpty'
3055-
expect(last_response.body).to include
3056-
'Please delete the service_bindings, service_keys, and routes associations for your service_instances'
3053+
expect(last_response.body).to include 'Please delete the service_bindings, service_keys, and routes associations for your service_instances'
30573054
end
30583055
end
30593056

@@ -3697,8 +3694,7 @@ def stub_delete_and_return(status, body)
36973694

36983695
expect(last_response).to have_status_code 400
36993696
expect(last_response.body).to include 'AssociationNotEmpty'
3700-
expect(last_response.body).to include
3701-
'Please delete the service_bindings, service_keys, and routes associations for your service_instances'
3697+
expect(last_response.body).to include 'Please delete the service_bindings, service_keys, and routes associations for your service_instances'
37023698
end
37033699

37043700
context 'when recursive=true' do

0 commit comments

Comments
 (0)