Skip to content

Commit

Permalink
Update spec/jobs/scalingengine/scalingengine_spec.rb
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
bonzofenix and github-actions[bot] committed Jun 25, 2024
1 parent 59fdef2 commit 636b653
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions spec/jobs/scalingengine/scalingengine_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down

0 comments on commit 636b653

Please sign in to comment.