A platform for community discussion. Free, open, simple.
DEV: Correct forums_controller success spec (#24690)
David Taylorcf8961e1c171
diff --git a/spec/requests/forums_controller_spec.rb b/spec/requests/forums_controller_spec.rbindex 4bd141b3f8c..d616109fa15 100644--- a/spec/requests/forums_controller_spec.rb+++ b/spec/requests/forums_controller_spec.rb@@ -39,9 +39,9 @@ RSpec.describe ForumsController doit "returns a 200 response if the cluster does match" doglobal_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")endit "returns a 200 response when given shutdown_ok" do