Thanks Eric  -- I had found and posted the solution when the mailing list 
server was behaving erratically and people may have missed the message.

When I set the problem aside and looked at it after a few days my mistake was 
obvious.  

http://lists.scsys.co.uk/pipermail/catalyst/2011-August/027503.html 


-----Original Message-----
From: Eden Cardim [mailto:edencar...@gmail.com] 
Sent: Monday, September 05, 2011 7:38 AM
To: The elegant MVC web framework
Subject: Re: [Catalyst] Model Testing Problems.

......

use MyApp;
is( MyApp->model('DBI::Flock')->CountSheep(), 3 , 'CountSheep. There are 3 
sheep in BoPeeps flock' ) ;

The above snippet should work, assuming the CountSheep() method is in place.

_______________________________________________
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/

Reply via email to