[Jifty-commit] jifty-plugin-emailerrors branch, master, updated. 25345874c0a1a04f9760ab13b727405de8349dea

Jifty commits jifty-commit at lists.jifty.org
Mon Dec 13 22:05:22 EST 2010


The branch, master has been updated
       via  25345874c0a1a04f9760ab13b727405de8349dea (commit)
      from  c8ddaaacb8fdd9d1794c281d3cb47ed383acbc7a (commit)

Summary of changes:
 t/TestApp-Plugin-EmailErrors/t/001-mason.t |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit 25345874c0a1a04f9760ab13b727405de8349dea
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Mon Dec 13 22:05:15 2010 -0500

    We test the error message twice

diff --git a/t/TestApp-Plugin-EmailErrors/t/001-mason.t b/t/TestApp-Plugin-EmailErrors/t/001-mason.t
index eb3f119..59c56a4 100644
--- a/t/TestApp-Plugin-EmailErrors/t/001-mason.t
+++ b/t/TestApp-Plugin-EmailErrors/t/001-mason.t
@@ -25,7 +25,7 @@ is(@emails, 1);
 my $email = Email::MIME->new($emails[0]->as_string);
 
 like($email->body_str, qr{Error in /.*/share/web/templates/dereference-error.html, line 4}, "error location");
-like($email->body_str, qr{Not a HASH reference}, "error message");
+like($email->body_str, qr{Not a HASH reference|Can't coerce array into hash}, "error message");
 like($email->body_str, qr{/.*/share/dist/Jifty/web/templates/autohandler, line \d+}, "stack trace");
 like($email->body_str, qr{HTTP_USER_AGENT: Test-WWW-Mechanize}, "environment");
 

-----------------------------------------------------------------------


More information about the Jifty-commit mailing list