Skip Menu |

This queue is for tickets about the Catalyst-Enzyme CPAN distribution.

Report information
The Basics
Id: 17367
Status: open
Priority: 0/
Queue: Catalyst-Enzyme

People
Owner: Nobody in particular
Requestors: jonasbn [...] io.dk
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Small error in tutorial
Date: Mon, 30 Jan 2006 20:36:06 +0100
To: bugs-catalyst-enzyme [...] rt.cpan.org
From: Jonas B. Nielsen <jonasbn [...] io.dk>
Hi Johan, I am going through your tutorial and I found an error: The changes to the t/01app.t reads use Test::More tests => 1; use_ok( Catalyst::Test, 'BookShelf' ); ok(request("/")->is_redirect, "Redirect ok"); Should read use Test::More tests => 2; use_ok( Catalyst::Test, 'BookShelf' ); ok(request("/")->is_redirect, "Redirect ok"); Since we have two tests :) jonasbn
On Mon Jan 30 14:37:02 2006, jonasbn@io.dk wrote: Show quoted text
> Hi Johan, > > I am going through your tutorial and I found an error: > > The changes to the t/01app.t reads > > use Test::More tests => 1; > use_ok( Catalyst::Test, 'BookShelf' ); > ok(request("/")->is_redirect, "Redirect ok"); > > Should read > > use Test::More tests => 2; > use_ok( Catalyst::Test, 'BookShelf' ); > ok(request("/")->is_redirect, "Redirect ok"); > > Since we have two tests :) > > jonasbn
Hi Johan, This line is also somewhat cryptic, where does til the method file come from? dsn => 'dbi:SQLite:dbname=' . file(BookShelf->config->{home}, 'db/bookshelf.db') jonasbn