Initial token management
Change-Id: I6177b46961b7a0e53b9fa1fa9430a4d5562ae2da
diff --git a/t/settings.t b/t/settings.t
index 9620504..9eb0655 100644
--- a/t/settings.t
+++ b/t/settings.t
@@ -31,21 +31,15 @@
}
});
-my $app = $t->app;
-
-$app->routes->get('/settings')->to(cb => sub { shift->render('settings') })->name('settings_start');
-$app->routes->get('/settings/:scope/:page')->to(scope => undef, page => undef)->name('settings');
-
-
$t->get_ok('/settings')
->text_is('a[href~/settings/oauth]','OAuth Token Management')
- ->text_is('h2#page-top', 'Settings')
+ ->text_is('h1 span', 'Settings')
;
$t->get_ok('/settings/oauth')
->text_is('a[href~/settings/oauth]','OAuth Token Management')
- ->text_is('h2#page-top', 'Settings')
- ->text_is('#abc', 'My Settings')
+ ->text_is('h1 span', 'Settings')
+ ->text_is('p#abc', 'My Settings')
;
done_testing;