Different errors regarding unit tests

I’m currently using jruby 1.4 and rails 2.3.5. After migrating to a
windows system and rails 2.3.5 rake fails

(in C:/Users/roger/Documents/NetBeansProjects/trunk)
“C:/Program Files/jruby-1.4.0/bin/jruby.exe” -I"lib;test" “C:/Program
Files/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.
7/lib/rake/rake_test_loader.rb”
“C:/Program Files/jruby-1.4.0/bin/jruby.exe” -I"lib;test" “C:/Program
Files/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.
7/lib/rake/rake_test_loader.rb”
Errors running test:units!

Im using a hsqldb database so I assume that this is the cause of the
problem but without a valid error message it’s quite hard to say.
Does anyone have an idea to make the tests work again ?

If I try to start my tests manually with jruby
.\test\functional\test_wizzard_controller.rb I get:

  1. Error:
    est_step0(TestWizzardController):
    ctiveRecord::StatementInvalid: ActiveRecord::ActiveRecordError: Table
    not found in statement [DELETE FROM none]: DELETE
    FROM none
    C:/Program
    Files/jruby-1.4.0/lib/ruby/gems/1.8/gems/activerecord-jdbc-adapter-0.9.3-java/lib/active_record/connectio
    _adapters/jdbc_adapter.rb:564:in `execute’

Any idea what causes this problem ?

BTW: Im just using hsqldb as my session store…

Regards
Roger


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

It feels like there’s some information missing. Do you not have the
actual test failure messages somewhere?

On Tue, Mar 30, 2010 at 10:14 AM, Roger G. [email protected]
wrote:

Errors running test:units!
ctiveRecord::StatementInvalid: ActiveRecord::ActiveRecordError: Table not


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

It feels like there’s some information missing. Do you not have the
actual test failure messages somewhere?


No, thats exactly the problem. ‘Errors running test:units!’ is the
only error message I get.

BTW: Regarding 'table found in statement [DELETE FROM none]: '. I
created the table named none in my hsqldb database and could at least
manually start my tests.

Regards
Roger

thats exact
Am 03.04.2010 um 10:24 schrieb Charles Oliver N.:

So I assume the database was properly initialized already for
sessions, right? This is a bit outside my knowledge of how Rails
works…

On Sun, Apr 4, 2010 at 3:29 AM, Roger G. [email protected] wrote:

  Roger

“C:/Program Files/jruby-1.4.0/bin/jruby.exe” -I"lib;test" "C:/Program

ctiveRecord::StatementInvalid: ActiveRecord::ActiveRecordError: Table not

Any idea what causes this problem ?

BTW: Im just using hsqldb as my session store…


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs