[Nitro] [PATCH] og-psql-refactoring

Bryan Soto bryan.a.soto at gmail.com
Sun Apr 9 12:48:11 EDT 2006


On 4/9/06, TRANS <transfire at gmail.com> wrote:
> Hi Bryan,
>
> I tried running the test suite myself and get this:
>
> .dropdb: database removal failed: ERROR:  database "test" does not exist
> dropdb: database removal failed: ERROR:  database "test" does not exist
> .dropdb: database removal failed: ERROR:  database "test" does not exist
> dropdb: database removal failed: ERROR:  database "test" does not exist
> ./test/og/tc_delete_all.rb:26: undefined method `manage_classes' for
> nil:NilClass (NoMethodError)
>         from -:14
>

In the checked out repo, there is a file, og\test\og\CONFIG.rb that
needs to be edited with your connection settings, username, password,
etc.

Perhaps that's the problem?

> But even prior to that, the testing suite should not run against
> install! Perhaps there is something I am not doing that takes care of
> this? But when one uses 'rake test' it does not do this. To fix I
> added a test section to the ProjectInfo file:
>
> TEST:
>   libs: [ '../og/lib', '../glue/lib', '../nitro/lib', '../../../facets/lib/' ]
>

Cool, I've been meaning to ask you what we'd need too. :)

> And use 'reap test' instead. Note others will have to change or remove
> the last entry, as that points to my own development repo of Facets.
>
> T.
>
> P.S. There seems to be no more nitrohq repo. I had to 'darcs get' from devlab.

Devlab should be the repo now. I honestly didn't know repo.nitrohq.com
was still around. George had mentioned previously that he was going to
change the entry to point to devlab.

--
"Never tell people how to do things. Tell them what to do and they
will surprise you with their ingenuity." —General George S. Patton




More information about the Nitro-general mailing list