diff --git a/Gemfile.lock b/Gemfile.lock index 875eae41c..9e98841ef 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -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) 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