You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltacloud.apache.org by mf...@apache.org on 2013/01/29 10:52:08 UTC

git commit: JRuby: Fixed the way we load Sequel JDBC sqlite3 driver in tests

Updated Branches:
  refs/heads/master a183640a9 -> 39cf10fb3


JRuby: Fixed the way we load Sequel JDBC sqlite3 driver in tests


Project: http://git-wip-us.apache.org/repos/asf/deltacloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltacloud/commit/39cf10fb
Tree: http://git-wip-us.apache.org/repos/asf/deltacloud/tree/39cf10fb
Diff: http://git-wip-us.apache.org/repos/asf/deltacloud/diff/39cf10fb

Branch: refs/heads/master
Commit: 39cf10fb32fb7916e6b991d17e086edfb204a48a
Parents: a183640
Author: Michal Fojtik <mf...@redhat.com>
Authored: Tue Jan 29 10:51:29 2013 +0100
Committer: Michal fojtik <mf...@redhat.com>
Committed: Tue Jan 29 10:51:29 2013 +0100

----------------------------------------------------------------------
 server/tests/cimi/db/db_helper.rb |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/39cf10fb/server/tests/cimi/db/db_helper.rb
----------------------------------------------------------------------
diff --git a/server/tests/cimi/db/db_helper.rb b/server/tests/cimi/db/db_helper.rb
index bc8bf32..b6a7c73 100644
--- a/server/tests/cimi/db/db_helper.rb
+++ b/server/tests/cimi/db/db_helper.rb
@@ -1,5 +1,7 @@
 # Memory database
 if RUBY_PLATFORM == 'java'
+  require 'jdbc/sqlite3'
+  Jdbc::SQLite3.load_driver
   ENV['DATABASE_LOCATION'] = 'jdbc:sqlite::memory:'
 else
   ENV['DATABASE_LOCATION'] = 'sqlite:/'