From cc67c8b68ef926a7a0dd25fed21e7af54f2e88b1 Mon Sep 17 00:00:00 2001 From: bootstraponline Date: Sun, 3 Jun 2012 16:17:52 -0600 Subject: [PATCH] Don't use assert_not_match. --- test/test_app.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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