[Jifty-commit] jifty branch, master, updated. 0ae1e3075afcb98e7bfbeb37b0fae1de6047e52a

Jifty commits jifty-commit at lists.jifty.org
Wed Feb 3 03:42:15 EST 2010


The branch, master has been updated
       via  0ae1e3075afcb98e7bfbeb37b0fae1de6047e52a (commit)
      from  e11809d2b21ebdd67f6d068a4c5935246a5bcee9 (commit)

Summary of changes:
 t/TestApp-Plugin-OnClick/etc/config.yml |    2 +-
 t/TestApp/t/06-validation.t             |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

- Log -----------------------------------------------------------------
commit 0ae1e3075afcb98e7bfbeb37b0fae1de6047e52a
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Wed Feb 3 16:42:07 2010 +0800

    more tests update

diff --git a/t/TestApp-Plugin-OnClick/etc/config.yml b/t/TestApp-Plugin-OnClick/etc/config.yml
index 9851fc4..8315c71 100644
--- a/t/TestApp-Plugin-OnClick/etc/config.yml
+++ b/t/TestApp-Plugin-OnClick/etc/config.yml
@@ -4,7 +4,7 @@ framework:
   ApplicationClass: TestApp::Plugin::OnClick
   ApplicationName: TestApp-Plugin-OnClick
   ApplicationUUID: 45E1B0FE-820A-11DC-9905-76B28F38D863
-  ConfigFileVersion: 3
+  ConfigFileVersion: 4
   Database: 
     CheckSchema: 1
     Database: testapp_plugin_onclick
diff --git a/t/TestApp/t/06-validation.t b/t/TestApp/t/06-validation.t
index fa09a80..d1e82d3 100644
--- a/t/TestApp/t/06-validation.t
+++ b/t/TestApp/t/06-validation.t
@@ -46,8 +46,8 @@ $mech->fill_in_action_ok('dosomething',
     '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 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->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&_=",
     "Getting validator.xml output for a form entry");

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


More information about the Jifty-commit mailing list