From cf8961e1c171c8f236a8a89d4cb3766f91866154 Mon Sep 17 00:00:00 2001 From: David Taylor Date: Mon, 4 Dec 2023 14:26:29 +0000 Subject: [PATCH] DEV: Correct forums_controller success spec (#24690) The implementation did not match the name of the spec --- spec/requests/forums_controller_spec.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/requests/forums_controller_spec.rb b/spec/requests/forums_controller_spec.rb index 4bd141b3f8c..d616109fa15 100644 --- a/spec/requests/forums_controller_spec.rb +++ b/spec/requests/forums_controller_spec.rb @@ -39,9 +39,9 @@ RSpec.describe ForumsController do it "returns a 200 response if the cluster does match" do global_setting(:cluster_name, "mycluster") - get "/srv/status?cluster=abc" - expect(response.status).to eq(500) - expect(response.body).to include("not match") + get "/srv/status?cluster=mycluster" + expect(response.status).to eq(200) + expect(response.body).not_to include("not match") end it "returns a 200 response when given shutdown_ok" do