Browse files

Adding tests check to home page.

  • Loading branch information...
1 parent f0e6a40 commit c27ba177af3bb893a3809ca66eb97194d7708981 @davidpersson davidpersson committed with nateabele Mar 24, 2011
Showing with 12 additions and 0 deletions.
  1. +12 −0 app/views/pages/home.html.php
View
12 app/views/pages/home.html.php
@@ -98,6 +98,18 @@
'Use custom routing.',
"To change the {$routing} edit the file <code>config/routes.php</code>."
);
+ },
+ 'tests' => function() use ($notify, $self) {
+ $tests = $self->html->link('run all tests', '/test/all');
+ $dashboard = $self->html->link('test dashboard', '/test');
+ $ticket = $self->html->link('file a ticket', 'http://dev.lithify.me/lithium/tickets');
+
+ return $notify(
+ 'notice',
+ 'Run the tests.',
+ "Check the builtin {$dashboard} or {$tests} now to ensure Lithium
+ is working as expected. Do not hesitate to {$ticket} in case a test fails."
+ );
}
);

0 comments on commit c27ba17

Please sign in to comment.