From 333d6dc70a30ae7a21d8ca1d3dcebe591087a0f0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 20 May 2024 11:16:33 +0000 Subject: [PATCH 1/2] Bump rubocop-govuk from 4.17.0 to 4.17.1 Bumps [rubocop-govuk](https://github.com/alphagov/rubocop-govuk) from 4.17.0 to 4.17.1. - [Changelog](https://github.com/alphagov/rubocop-govuk/blob/main/CHANGELOG.md) - [Commits](https://github.com/alphagov/rubocop-govuk/compare/v4.17.0...v4.17.1) --- updated-dependencies: - dependency-name: rubocop-govuk dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index a8b92ac40..26a46f02a 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -481,7 +481,7 @@ GEM public_suffix (5.0.5) puma (6.4.2) nio4r (~> 2.0) - racc (1.7.3) + racc (1.8.0) rack (3.0.11) rack-proxy (0.7.7) rack @@ -570,13 +570,13 @@ GEM rubocop (~> 1.41) rubocop-factory_bot (2.25.1) rubocop (~> 1.41) - rubocop-govuk (4.17.0) + rubocop-govuk (4.17.1) rubocop (= 1.63.5) rubocop-ast (= 1.31.3) - rubocop-rails (= 2.24.1) + rubocop-rails (= 2.25.0) rubocop-rake (= 0.6.0) rubocop-rspec (= 2.29.2) - rubocop-rails (2.24.1) + rubocop-rails (2.25.0) activesupport (>= 4.2.0) rack (>= 1.1) rubocop (>= 1.33.0, < 2.0) From c9020c75045c042d2c5e1cf4cfb1202429040e10 Mon Sep 17 00:00:00 2001 From: Mateusz Grotek Date: Wed, 22 May 2024 14:59:54 +0100 Subject: [PATCH 2/2] Use :ok instead of 200 HTTP code --- test/controllers/step_navigation_controller_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/controllers/step_navigation_controller_test.rb b/test/controllers/step_navigation_controller_test.rb index 9ab5cbbe1..fc52bc162 100644 --- a/test/controllers/step_navigation_controller_test.rb +++ b/test/controllers/step_navigation_controller_test.rb @@ -15,7 +15,7 @@ class ContentItemsControllerTest < ActionController::TestCase get :show, params: { path: } - assert_response 200 + assert_response :ok assert response.body.include?("Learn to drive a car: step by step") end @@ -30,7 +30,7 @@ class ContentItemsControllerTest < ActionController::TestCase get :show, params: { path: } - assert_response 200 + assert_response :ok assert_not response.body.include?("Learn to drive a car: step by step") end end