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=71045a65aa0198256e2e5b3657798c889a07a5a0;hb=e7cfb0cc7b727def160a320e0329ad866d6b2607;hpb=2a6eb5f9e3b1b3a8dacd724bb8ab87ba18f733a5 diff --git a/lib/Catalyst/Manual/Tutorial/08_Testing.pod b/lib/Catalyst/Manual/Tutorial/08_Testing.pod index 71045a6..a3889b4 100644 --- a/lib/Catalyst/Manual/Tutorial/08_Testing.pod +++ b/lib/Catalyst/Manual/Tutorial/08_Testing.pod @@ -270,8 +270,10 @@ editor and enter the following: # Make sure the appropriate logout buttons are displayed $_->content_contains("/logout\">User Logout", "Both users should have a 'User Logout'") for $ua1, $ua2; - $ua1->content_contains("/books/form_create\">Create", - "Only 'test01' should have a create link"); + $ua1->content_contains("/books/form_create\">Admin Create", + "'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'"); @@ -404,7 +406,7 @@ Kennedy Clark, C Please report any errors, issues or suggestions to the author. The most recent version of the Catalyst Tutorial can be found at -L. +L. Copyright 2006-2008, Kennedy Clark, under Creative Commons License (L).