Don't use assert_not_match.

This commit is contained in:
bootstraponline
2012-06-03 16:17:52 -06:00
parent bbc19d1800
commit cc67c8b68e
+2 -1
View File
@@ -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