fixed pod
Brian Cassidy [Mon, 28 Nov 2005 14:57:41 +0000 (14:57 +0000)]
added pod and pod_coverage tests

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

index 52adb48..455296f 100644 (file)
@@ -229,6 +229,8 @@ Delegate C<get_user> to the default store.
 
 =head1 METHODS FOR STORE MANAGEMENT
 
+=over 4
+
 =item default_auth_store
 
 Return the store whose name is 'default'.
@@ -262,6 +264,8 @@ A ref-hash keyed by store, which contains the names of the stores.
 
 Register stores into the application.
 
+=back
+
 =head1 INTERNAL METHODS
 
 =over 4
index f7d8a93..6a185e1 100644 (file)
@@ -210,6 +210,8 @@ Returns a string suitable for feeding into L<Digest/new>.
 Returns a string to be hashed before/after the user's password. Typically only\r
 a pre-salt is used.\r
 \r
+=back\r
+\r
 =head2 Crypt::SaltedHash Passwords\r
 \r
 Predicate:\r
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();