[Rt-commit] rt branch, reminders-fixes, updated. rt-3.9.7-1078-g24a1cc4
Shawn Moore
sartak at bestpractical.com
Mon Dec 27 20:40:03 EST 2010
The branch, reminders-fixes has been updated
via 24a1cc4a6ccc40bbd9d0348025c90a633abbd718 (commit)
from dcfa3ecdaff584a5723cb6939716f65df848a109 (commit)
Summary of changes:
t/web/reminders.t | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
- Log -----------------------------------------------------------------
commit 24a1cc4a6ccc40bbd9d0348025c90a633abbd718
Author: Shawn M Moore <sartak at bestpractical.com>
Date: Mon Dec 27 20:39:47 2010 -0500
Test that we display resolved reminders in Reminders.html
diff --git a/t/web/reminders.t b/t/web/reminders.t
index 8cc0bdd..b64b4fe 100644
--- a/t/web/reminders.t
+++ b/t/web/reminders.t
@@ -1,7 +1,7 @@
#!/usr/bin/env perl
use strict;
use warnings;
-use RT::Test tests => 24;
+use RT::Test tests => 29;
my ($baseurl, $m) = RT::Test->started_ok;
@@ -69,3 +69,9 @@ TODO: {
}
$m->content_unlike(qr{baby's first reminder}, "we don't display resolved reminders");
+$m->follow_link_ok({id => 'page-reminders'});
+$m->title_is("Reminders for ticket #" . $ticket->id);
+$m->text_contains('New reminder:', 'can create a new reminder');
+$m->text_contains('Check box to complete', "we DO display this text when there are reminders");
+$m->content_contains("changed the subject", "display the resolved reminder's subject");
+
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list