More explicit test

This commit is contained in:
Christoph Haas 2018-08-14 15:00:43 +02:00
parent 6b9c9b1ea5
commit 50d09e3af6

View file

@ -3,7 +3,7 @@ require 'test_helper'
class BrowserBrowseTest < ActionDispatch::IntegrationTest class BrowserBrowseTest < ActionDispatch::IntegrationTest
test "user can see home page" do test "user can see home page" do
visit root_path 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 end
test "user can browse packages" do test "user can browse packages" do