We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7efe81d commit 098bb56Copy full SHA for 098bb56
test/activerecord_provider/config/connection.rb
@@ -3,7 +3,13 @@
3
4
# Configure AR connection
5
#ActiveRecord::Base.logger = Logger.new(STDOUT)
6
+
7
+if RUBY_PLATFORM == "java"
8
+ require 'jdbc/sqlite3'
9
+ Jdbc::SQLite3.load_driver
10
+end
11
12
ActiveRecord::Migration.verbose = false
13
ActiveRecord::Base.establish_connection :adapter => "sqlite3",
14
:database => ":memory:"
-ActiveRecord::Migrator.up File.join(File.dirname(__FILE__), '..', 'database')
15
+ActiveRecord::Migrator.up File.join(File.dirname(__FILE__), '..', 'database')
0 commit comments