fixed #11929: In/Out board breaks in Chrome sometimes

This commit is contained in:
Paul Driver 2010-10-26 13:13:16 -07:00
parent 8b25005515
commit e67ad18517
3 changed files with 32 additions and 12 deletions

View file

@ -18,7 +18,7 @@ use Test::MockObject::Extends;
use WebGUI::Test;
use WebGUI::Session;
use Test::More tests => 8; # increment this value for each test you create
use Test::More tests => 9; # increment this value for each test you create
use Test::Deep;
use Data::Dumper;
@ -129,6 +129,14 @@ cmp_deeply(
$session->request->setup_body({ });
$session->scratch->delete('userId');
################################################################
#
# getStatusList
#
################################################################
$board->update({statusList => "In\r\nOut\rHome\nLunch"});
is_deeply [$board->getStatusList], [qw(In Out Home Lunch)], 'getStatusList';
################################################################
#
# view