From 636b65343f2b25a8f406ab28be25bc4d0eced8e7 Mon Sep 17 00:00:00 2001 From: bonzofenix <317403+bonzofenix@users.noreply.github.com> Date: Tue, 25 Jun 2024 18:59:55 +0200 Subject: [PATCH] Update spec/jobs/scalingengine/scalingengine_spec.rb Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- spec/jobs/scalingengine/scalingengine_spec.rb | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/spec/jobs/scalingengine/scalingengine_spec.rb b/spec/jobs/scalingengine/scalingengine_spec.rb index b9415d3357..5174908dcb 100644 --- a/spec/jobs/scalingengine/scalingengine_spec.rb +++ b/spec/jobs/scalingengine/scalingengine_spec.rb @@ -15,15 +15,11 @@ context "scalingengine" do it "does not set username nor password if not configured" do - expect(rendered_template["health"]).to include( - {"username" => nil, "password" => nil} -) + expect(rendered_template["health"]).to include({"username" => nil, "password" => nil}) end it "does not include health port anymore" do - expect(rendered_template["health"].keys).not_to include( - "port" -) + expect(rendered_template["health"].keys).not_to include("port") end it "check scalingengine basic auth username and password" do @@ -34,13 +30,7 @@ } } - expect(rendered_template["health"]) - .to include( - { - { - "password" => "test-user-password" - } - ) + expect(rendered_template["health"]).to include( { "password" => "test-user-password" }) end end