X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Manual.git;a=blobdiff_plain;f=lib%2FCatalyst%2FManual%2FTutorial%2F08_Testing.pod;h=a3889b40d7ac312d7607a3748a724b2bfe26e74f;hp=95bb7531516dea9fd7bc2f5bc0e997db6be4643c;hb=e7cfb0cc7b727def160a320e0329ad866d6b2607;hpb=6290bf87f4960688b5aec32fc762886031e9db09 diff --git a/lib/Catalyst/Manual/Tutorial/08_Testing.pod b/lib/Catalyst/Manual/Tutorial/08_Testing.pod index 95bb753..a3889b4 100644 --- a/lib/Catalyst/Manual/Tutorial/08_Testing.pod +++ b/lib/Catalyst/Manual/Tutorial/08_Testing.pod @@ -271,7 +271,9 @@ editor and enter the following: $_->content_contains("/logout\">User Logout", "Both users should have a 'User Logout'") for $ua1, $ua2; $ua1->content_contains("/books/form_create\">Admin Create", - "Only 'test01' should have a create link"); + "'test01' should have a create link"); + $ua2->content_lacks("/books/form_create\">Admin Create", + "'test02' should NOT have a create link"); $ua1->get_ok("http://localhost/books/list", "View book list as 'test01'");