From 50d09e3af665e5bf6c829e8d688bf23dfec0f83a Mon Sep 17 00:00:00 2001 From: Christoph Haas Date: Tue, 14 Aug 2018 15:00:43 +0200 Subject: [PATCH] More explicit test --- test/integration/browse_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/browse_test.rb b/test/integration/browse_test.rb index 024cfa4..bd543ec 100644 --- a/test/integration/browse_test.rb +++ b/test/integration/browse_test.rb @@ -3,7 +3,7 @@ require 'test_helper' class BrowserBrowseTest < ActionDispatch::IntegrationTest test "user can see home page" do visit root_path - page.must_have_content 'This website lets you browse screenshots' + page.must_have_content /This website lets you browse screenshots of [\d,]+ software packages/ end test "user can browse packages" do