X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Ft%2Fweb%2Fdashboards-groups.t;h=9f1c37debe9993b2ad2eb38b5ff25ec98508e4bd;hb=1c538bfabc2cd31f27067505f0c3d1a46cba6ef0;hp=db2fccf1c57abbcfee796781581a912ca9d2c176;hpb=4f5619288413a185e9933088d9dd8c5afbc55dfa;p=freeside.git diff --git a/rt/t/web/dashboards-groups.t b/rt/t/web/dashboards-groups.t index db2fccf1c..9f1c37deb 100644 --- a/rt/t/web/dashboards-groups.t +++ b/rt/t/web/dashboards-groups.t @@ -79,7 +79,7 @@ $m->form_name('ModifyDashboard'); $m->field("Name" => 'inner dashboard'); $m->field("Privacy" => "RT::Group-" . $inner_group->Id); $m->click_button(value => 'Create'); -$m->content_lacks("Permission denied", "we now have SeeGroupDashboard"); +$m->content_lacks("Permission Denied", "we now have SeeGroupDashboard"); $m->content_contains("Saved dashboard inner dashboard"); $m->content_lacks('Delete', "Delete button hidden because we lack DeleteDashboard"); @@ -95,15 +95,15 @@ is($dashboard->PossibleHiddenSearches, 0, "all searches are visible"); $m->get_ok("/Dashboards/Modify.html?id=$id"); $m->content_contains("inner dashboard", "we now have SeeGroupDashboard right"); -$m->content_lacks("Permission denied"); +$m->content_lacks("Permission Denied"); $m->content_contains('Subscription', "Subscription link not hidden because we have SubscribeDashboard"); $m->get_ok("/Dashboards/index.html"); $m->content_contains("inner dashboard", "We can see the inner dashboard from the UI"); -$m->get_ok("/index.html"); -$m->content_contains("inner dashboard", "We can see the inner dashboard from the menu drop-down"); +$m->get_ok("/Prefs/DashboardsInMenu.html"); +$m->content_contains("inner dashboard", "Can also see it in the menu options"); my ($group) = grep {$_->isa("RT::Group") and $_->Id == $inner_group->Id} RT::Dashboard->new($currentuser)->_PrivacyObjects; @@ -191,5 +191,5 @@ is_deeply( $m->get_ok("/Dashboards/index.html"); $m->content_contains("inner dashboard", "The dashboards list includes superuser rights"); -$m->get_ok("/index.html"); +$m->get_ok("/Prefs/DashboardsInMenu.html"); $m->content_lacks("inner dashboard", "But the menu skips them");