From 09e1cd705ae2ee7ab48c702942ca82fd75a1990b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Iv=C3=A1n=20L=C3=B3pez=20Gonz=C3=A1lez?= Date: Mon, 15 Jan 2018 16:32:24 +0000 Subject: [PATCH] Fix tests --- test/y2partitioner/setup_errors_presenter_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/y2partitioner/setup_errors_presenter_test.rb b/test/y2partitioner/setup_errors_presenter_test.rb index 86e57cc1cd..50a49ad59a 100644 --- a/test/y2partitioner/setup_errors_presenter_test.rb +++ b/test/y2partitioner/setup_errors_presenter_test.rb @@ -87,7 +87,7 @@ end it "does not contain a general error message for boot errors" do - expect(subject.to_html).to_not match(/could not load/) + expect(subject.to_html).to_not match(/not be able to boot/) end end @@ -96,7 +96,7 @@ let(:product_errors) { [product_error1] } it "contains a general error message for boot errors" do - expect(subject.to_html).to match(/could not load/) + expect(subject.to_html).to match(/not be able to boot/) end it "contains a general error message for product errors" do