fixed pod
Brian Cassidy [Mon, 28 Nov 2005 13:49:37 +0000 (13:49 +0000)]
added pod and pod_coverage tests

lib/Catalyst/Plugin/Authentication/Credential/TypeKey.pm
t/pod.t [new file with mode: 0644]
t/pod_coverage.t [new file with mode: 0644]

index 3dc457e..c3c4f7e 100644 (file)
@@ -166,13 +166,13 @@ L<Catalyst::Plugin::Authentication>.
 
 =head1 METHODS
 
-=item authenticate_typekey %parameters
+=head3 authenticate_typekey %parameters
 
-=item authenticate_typekey
+=head3 authenticate_typekey
 
-=item EXTENDED METHODS
+=head3 EXTENDED METHODS
 
-=item setup
+=head3 setup
 
 Fills the config with defaults.
 
diff --git a/t/pod.t b/t/pod.t
new file mode 100644 (file)
index 0000000..1647794
--- /dev/null
+++ b/t/pod.t
@@ -0,0 +1,7 @@
+use Test::More;
+
+eval "use Test::Pod 1.14";
+plan skip_all => 'Test::Pod 1.14 required' if $@;
+plan skip_all => 'set TEST_POD to enable this test' unless $ENV{TEST_POD};
+
+all_pod_files_ok();
diff --git a/t/pod_coverage.t b/t/pod_coverage.t
new file mode 100644 (file)
index 0000000..d91be5e
--- /dev/null
@@ -0,0 +1,7 @@
+use Test::More;
+
+eval "use Test::Pod::Coverage 1.04";
+plan skip_all => 'Test::Pod::Coverage 1.04 required' if $@;
+plan skip_all => 'set TEST_POD to enable this test' unless $ENV{TEST_POD};
+
+all_pod_coverage_ok();