Debug.log detection if it contains only PHP notices

This commit is contained in:
Erwan
2012-08-24 08:34:12 +02:00
parent f9609ee295
commit 508420f30f
2 changed files with 6 additions and 1 deletions

View File

@@ -158,5 +158,10 @@ describe WpTarget do
@fixture = fixtures_dir + "/debug.log"
@expected = true
end
it "should also detect it if there are PHP notice" do
@fixture = fixtures_dir + "/debug-notice.log"
@expected = true
end
end
end