test/schema.rb in laserlemon-vestal_versions-0.4.2 vs test/schema.rb in laserlemon-vestal_versions-0.4.3
- old
+ new
@@ -1,6 +1,6 @@
ActiveRecord::Base.establish_connection(
- :adapter => 'sqlite3',
+ :adapter => defined?(RUBY_ENGINE) && RUBY_ENGINE == 'jruby' ? 'jdbcsqlite3' : 'sqlite3',
:database => File.join(File.dirname(__FILE__), 'test.db')
)
class CreateSchema < ActiveRecord::Migration
def self.up