[Jifty-commit] r7105 - jifty/trunk/t/TestApp/t

Jifty commits jifty-commit at lists.jifty.org
Tue May 26 14:57:16 EDT 2009


Author: sartak
Date: Tue May 26 14:57:16 2009
New Revision: 7105

Modified:
   jifty/trunk/t/TestApp/t/06-validation.t

Log:
The missing value validation failure message changed

Modified: jifty/trunk/t/TestApp/t/06-validation.t
==============================================================================
--- jifty/trunk/t/TestApp/t/06-validation.t	(original)
+++ jifty/trunk/t/TestApp/t/06-validation.t	Tue May 26 14:57:16 2009
@@ -46,7 +46,7 @@
     'bar' => '',
 );
 $mech->submit_html_ok();
-$mech->content_contains('<span class="error text  argument-bar" id="errors-J:A:F-bar-dosomething">You need to fill in this field</span>', 'got error for bar');
+$mech->content_contains('<span class="error text  argument-bar" id="errors-J:A:F-bar-dosomething">You need to fill in the \'bar\' field</span>', 'got error for bar');
 $mech->content_contains('<span class="error text  argument-foo" id="errors-J:A:F-foo-dosomething"></span>', 'got no error for foo');
 
 $mech->get_ok("$URL/__jifty/validator.xml?J:A-dosomething=TestApp::Action::DoSomethingElse&J:A:F-foo-dosomething=&J:A:F-bar-dosomething=blam&J:VALIDATE=1&_=",


More information about the Jifty-commit mailing list