From 59ce9946bd389cb1d1f89be595602f9a6eca79a6 Mon Sep 17 00:00:00 2001 From: Beth Skurrie Date: Thu, 16 Nov 2023 13:00:27 +1100 Subject: [PATCH] test: update title expectation --- .../get_currently_deployed_versions_for_version_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/features/get_currently_deployed_versions_for_version_spec.rb b/spec/features/get_currently_deployed_versions_for_version_spec.rb index 02e25cc67..fed74c744 100644 --- a/spec/features/get_currently_deployed_versions_for_version_spec.rb +++ b/spec/features/get_currently_deployed_versions_for_version_spec.rb @@ -21,7 +21,7 @@ it "returns a list of deployed versions" do expect(response_body_hash[:_embedded][:deployedVersions]).to be_a(Array) expect(response_body_hash[:_embedded][:deployedVersions].size).to eq 1 - expect(response_body_hash[:_links][:self][:title]).to eq "Deployed versions for Foo version 1" + expect(response_body_hash[:_links][:self][:title]).to eq "Deployed versions for Foo version 1 in environment Test" expect(response_body_hash[:_links][:self][:href]).to end_with(path) end end