actually it should be
use_ok('Engoi::Schema::EngoiDb::Attributes');
On 7/3/06, Daniel McBrearty <[EMAIL PROTECTED]> wrote:
> I am trying to use this command
>
> script/engoi_create.pl model Schema DBIC::Schema
> Engoi::Schema::EngoiDb create=static ...
>
> to make my model with a seperate static schema.
>
> Everything seems AOK:
>
> exists "/home/daniel/work/trunk/Engoi/script/../lib/Engoi/Model"
> exists "/home/daniel/work/trunk/Engoi/script/../t"
> Dumping manual schema for Engoi::Schema::EngoiDb to directory
> /home/daniel/work/trunk/Engoi/script/../lib ...
> Schema dump completed.
> exists "/home/daniel/work/trunk/Engoi/script/../lib/Engoi/Model/Schema.pm"
>
> I find my generated Schema under lib/Engoi/Schema/EngoiDb, and it
> seems to work OK with teh generated model, ... BUT the generated tests
> contain this:
>
> use Test::More tests => 2;
> use_ok( Catalyst::Test, 'Engoi' );
> use_ok('Engoi::Model::Schema::Attributes');
>
> which fails because it should actually be
>
> use_ok('Engoi::Schema::Attributes');
>
> what am I doing wrong ... ?
>
> cheers
>
> D
>
>
>
> --
> Daniel McBrearty
> email : danielmcbrearty at gmail.com
> www.engoi.com : the multi - language vocab trainer
> BTW : 0873928131
>
--
Daniel McBrearty
email : danielmcbrearty at gmail.com
www.engoi.com : the multi - language vocab trainer
BTW : 0873928131
_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/