[Rt-commit] rt branch, 4.2/dashboard-in-menu, updated. rt-3.9.7-1236-gdc95ead

? sunnavy sunnavy at bestpractical.com
Tue Jan 25 21:41:55 EST 2011


The branch, 4.2/dashboard-in-menu has been updated
       via  dc95ead44a5facc7be31958759b9e48a33576aa4 (commit)
      from  39bf4d684f9ac352ed8dab29501cf72cf5cb1bee (commit)

Summary of changes:
 t/web/dashboards-basics.t |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit dc95ead44a5facc7be31958759b9e48a33576aa4
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Wed Jan 26 10:41:39 2011 +0800

    update test, as we use checkbox now

diff --git a/t/web/dashboards-basics.t b/t/web/dashboards-basics.t
index 759adf5..85c817d 100644
--- a/t/web/dashboards-basics.t
+++ b/t/web/dashboards-basics.t
@@ -275,7 +275,7 @@ $m->content_contains('Dashboard updated');
 ok( !$m->find_link( text => 'menu dashboard foo' ), 'no link in menu' );
 
 $m->form_name('ModifyDashboard');
-is( $m->value('ShowInMenu'), 0, 'ShowInMenu input' );
+ok( !$m->value('ShowInMenu'), 'ShowInMenu input' );
 $m->field('ShowInMenu' => 1);
 $m->click_button(value => 'Save Changes');
 $m->content_contains('Dashboard updated');

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


More information about the Rt-commit mailing list