diff --git a/library/control/test/workflow_manager_test.rb b/library/control/test/workflow_manager_test.rb index c3c06f488..f861cd254 100755 --- a/library/control/test/workflow_manager_test.rb +++ b/library/control/test/workflow_manager_test.rb @@ -342,7 +342,7 @@ it "returns the installation.xml path if the extracted package contains it" do expect(File).to receive(:exist?).with(/installation.xml\z/).and_return(true) - expect(subject.GetControlFileFromPackage(repo_id)).to match(/\/installation\.xml\z/) + expect(subject.GetControlFileFromPackage(repo_id)).to match(/\A\/.+\/installation\.xml\z/) end end end