Hi all,

I've run last version of ruote-rest with jruby 1.3.0 and everything
(on the browser) seems to work pretty fine*. I just wanted to pass the
test suite with 'rake test' task and I'm having some problems.

I've changed 'conf/database.yaml' so 'defaults' looks like this:

defaults: &defaults
  adapter: jdbcmysql
  #adapter: mysql
  host: localhost
  encoding: utf8


Then, I tried to run the test suite with: 'jruby -S rake test' and
here comes the exit:

Started
..............EEEEEEEEEEEEEEEEEEEEE
Finished in 11.007 seconds.

[...]

35 tests, 22 assertions, 0 failures, 21 errors
rake aborted!



First tests (t_misc, t_auth, ft_auth, st_service) pass. The tests that
have something to do with ar_workitems fail.

Here is the output of some of them:

1) Error:
test_get_errors(StErrorsTest):
ActiveRecord::StatementInvalid:
ActiveRecord::ConnectionNotEstablished: no connection available:
DELETE FROM `ar_workitems`

2) Error:
test_replay_error(StErrorsTest):
ActiveRecord::StatementInvalid:
ActiveRecord::ConnectionNotEstablished: no connection available:
DELETE FROM `ar_workitems`

Rake version is 0.8.7

It seems that it has something to do with ActiveRecord and that a
connection can't be established... but I was able to run ruote-rest
(create proccesses, update workitems, etc...) just fine with jruby
using 'jruby lib/start.rb' command :(


Is anyone facing the same issue? Thanks for the help.
Gonzalo.



*everything except for GET /history
--~--~---------~--~----~------------~-------~--~----~
you received this message because you are subscribed to the "ruote users" group.
to post : send email to [email protected]
to unsubscribe : send email to [email protected]
more options : http://groups.google.com/group/openwferu-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to