[Rt-commit] rt branch, 4.2/dashboard-search-cache, created. rt-4.0.0rc6-167-gdde3081

Shawn Moore sartak at bestpractical.com
Tue Mar 15 16:34:00 EDT 2011


The branch, 4.2/dashboard-search-cache has been created
        at  dde30812cc71c5c9fa183304368e9c221aaada57 (commit)

- Log -----------------------------------------------------------------
commit dde30812cc71c5c9fa183304368e9c221aaada57
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Tue Mar 15 16:33:29 2011 -0400

    Test to ensure that we actually did rename the saved search

diff --git a/t/web/dashboards-search-cache.t b/t/web/dashboards-search-cache.t
index ad2a969..4baf544 100644
--- a/t/web/dashboards-search-cache.t
+++ b/t/web/dashboards-search-cache.t
@@ -1,7 +1,7 @@
 #!/usr/bin/perl -w
 use strict;
 
-use RT::Test tests => 20;
+use RT::Test tests => 23;
 my ($baseurl, $m) = RT::Test->started_ok;
 
 my $url = $m->rt_base_url;
@@ -71,3 +71,7 @@ TODO: {
     $m->text_contains('Saved Search: New Name');
     $m->text_unlike(qr/Saved Search: Original Name/); # t-w-m lacks text_lacks
 }
+
+$m->get_ok("/Dashboards/Render.html?id=$dashboard_id");
+$m->text_contains('New Name');
+$m->text_unlike(qr/Original Name/); # t-w-m lacks text_lacks

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


More information about the Rt-commit mailing list