[Nitro] test failures in og/dbi

Dan North dan at tastapod.com
Tue Sep 18 06:22:59 EDT 2007


Hi there.

I'm getting some errors in the og specs. Can anyone help?

Thanks,
Dan

    dan at kyle:~/projects/nitro/repo.nitroproject.org$ rake test:og
    /var/lib/gems/1.8/bin/rake:17:Warning: require_gem is obsolete.  Use
    gem instead.
    (in /home/dan/projects/nitro/repo.nitroproject.org)
    Running og...                           [   1 specs - all passed ]
    Running og/adapter/dbi...               [   8 specs -   4 failed ]
    Running og/model/timestamped...         [   1 specs - all passed ]
    Running og/store/sql...                 [   1 specs - all passed ]
    Running og/util/ann_attr...             [   1 specs - all passed ]
    Running og/validation...                [   2 specs - all passed ]
    -------------------------------[ og/adapter/dbi
    ]-------------------------------
    ExitStatus:
    #<Process::Status: pid=31917,exited(0)>
    StdOut:
    Database "test" dropped
    FFDatabase "test" dropped
    FF

    1)
    NameError in 'The connection to a new Og store manager should use
    sqlite memory as the default, when given no option.'
    undefined method `eof?' for class `SQLite3::ResultSet'
    /var/lib/gems/1.8/gems/og-0.50.0/lib/og/adapter/sqlite/override.rb:9:in
    `alias_method'
    /var/lib/gems/1.8/gems/og-0.50.0/lib/og/adapter/sqlite/override.rb:9:
    /var/lib/gems/1.8/gems/og-0.50.0/lib/og/adapter/sqlite.rb:12:
    /var/lib/gems/1.8/gems/og-0.50.0/lib/og/adapter.rb:30:in `for_name'
    /var/lib/gems/1.8/gems/og-0.50.0/lib/og/manager.rb:51:in `initialize'
    /var/lib/gems/1.8/gems/og-0.50.0/lib/og.rb:176:in `new'
    /var/lib/gems/1.8/gems/og-0.50.0/lib/og.rb:176:in `start'
    /home/dan/projects/nitro/repo.nitroproject.org/og/test/og/adapter/dbi.rb:16:
    /home/dan/projects/nitro/repo.nitroproject.org/og/test/og/adapter/dbi.rb:39:

    2)
    NameError in 'The connection to a new Og store manager should use
    sqlite memory as the default, when given an empty option hash.'
    undefined method `eof?' for class `SQLite3::ResultSet'
    /var/lib/gems/1.8/gems/og-0.50.0/lib/og/adapter/sqlite/override.rb:9:in
    `alias_method'
    /var/lib/gems/1.8/gems/og-0.50.0/lib/og/adapter/sqlite/override.rb:9:
    /var/lib/gems/1.8/gems/og-0.50.0/lib/og/adapter/sqlite.rb:12:
    /var/lib/gems/1.8/gems/og-0.50.0/lib/og/adapter.rb:30:in `for_name'
    /var/lib/gems/1.8/gems/og-0.50.0/lib/og/manager.rb:51:in `initialize'
    /var/lib/gems/1.8/gems/og-0.50.0/lib/og.rb:176:in `new'
    /var/lib/gems/1.8/gems/og-0.50.0/lib/og.rb:176:in `start'
    /home/dan/projects/nitro/repo.nitroproject.org/og/test/og/adapter/dbi.rb:25:
    /home/dan/projects/nitro/repo.nitroproject.org/og/test/og/adapter/dbi.rb:39:

    3)
    NoMethodError in 'The DBI adapter structure before(:all)'
    undefined method `merge' for nil:NilClass
    /home/dan/projects/nitro/repo.nitroproject.org/og/test/og/adapter/../../helper.rb:69:in
    `start'
    /home/dan/projects/nitro/repo.nitroproject.org/og/test/og/adapter/dbi.rb:43:
    /home/dan/projects/nitro/repo.nitroproject.org/og/test/og/adapter/dbi.rb:39:

    4)
    NoMethodError in 'The DBI adapter structure after(:all)'
    undefined method `store' for nil:NilClass
    /home/dan/projects/nitro/repo.nitroproject.org/og/test/og/adapter/dbi.rb:65:
    /home/dan/projects/nitro/repo.nitroproject.org/og/test/og/adapter/dbi.rb:39:

    Finished in 0.343557 seconds

    4 examples, 4 failures
    StdErr:

    nil
    14 examples, 4 failures

    These failed: og/adapter/dbi


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/nitro-general/attachments/20070918/bfe2e9b7/attachment.html 


More information about the Nitro-general mailing list