11 my $path = "$Bin/lib/TestApp/root/";
13 use_ok 'CatalystX::HelpText::Script::SearchUndocumentedHelpText';
16 $script = CatalystX::HelpText::Script::SearchUndocumentedHelpText
18 help_files_path => "$path/helptext",
19 template_search_dir => "$path",
20 finder_class => "CatalystX::HelpText::Finder::TemplateToolkit",
21 filename_pattern => '\W',
28 $path.'helptext/fnoo.html',
30 is_deeply $script->all_files, $files, "Files found";
31 is_deeply $script->all_keys, [ 'undocumented', 'fnoo' ], "All keys found";
32 is_deeply $script->undocumented_keys, [ 'undocumented' ], "undocumented keys found";
33 is_deeply $script->documented_keys, [ 'fnoo' ], "documented keys found";