[Nitro] [Bug]? Only one test per test case?

Humber Aquino humberaquino at gmail.com
Fri Apr 28 08:53:01 EDT 2006


Hi T! The result is the same :(

I don't know why og knows that the db doesn't exists and did not create the
db as in the first time. I will try to look into the og code to look 4
answers.

Regards :D

On 4/27/06, TRANS <transfire at gmail.com> wrote:
>
> While there may be a more fundamental problem to address, right off
> the bat I notice that this might help:
>
>     def setup
>         @og ||= Og.setup(
>           :destroy => true,
>           :store => :mysql,
>           :name => 'db_test',
>           :user => 'dbuser',
>           :password => 'dbpass'
>         )
>       og_fixture User
>     end
>
> Notice the ||=. Don't hold me to it though ;)
>
> T.
>
> _______________________________________________
> Nitro-general mailing list
> Nitro-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/nitro-general
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/nitro-general/attachments/20060428/bee86185/attachment.html 


More information about the Nitro-general mailing list