diff --git a/test/test_app.rb b/test/test_app.rb index 5eb90803..04fee6e0 100644 --- a/test/test_app.rb +++ b/test/test_app.rb @@ -195,7 +195,8 @@ context "Frontend with page-file-dir" do follow_redirect! assert last_response.ok? - assert_not_match /Duplicate page/, last_response.body + # Assert not match. + assert_equal true, /Duplicate page/.match(last_response.body) == nil end def app