diff options
Diffstat (limited to '')
| -rw-r--r-- | t/05_graph.t | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/t/05_graph.t b/t/05_graph.t new file mode 100644 index 0000000..e995e75 --- /dev/null +++ b/t/05_graph.t @@ -0,0 +1,18 @@ +use strict; +use warnings; +use Test::More tests => 1; +use lib ('t/lib'); +use CatalystX::Dispatcher::AsGraph; + +my $graph = CatalystX::Dispatcher::AsGraph->new( + appname => 'TestApp', + output => 'test' +); +$graph->run; +is $graph->graph->as_txt, <<'...'; +[ / ] --> [ \[action\] edit ] +[ / ] --> [ \[action\] index ] +[ / ] --> [ \[action\] root ] +[ / ] --> [ \[action\] view ] +[ / ] --> [ \[action\] view_user ] +... |
