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