spec/spec_helper.rb in safe_attributes-1.0.9 vs spec/spec_helper.rb in safe_attributes-1.0.10

- old
+ new

@@ -11,10 +11,10 @@ require 'rspec' require 'rspec/autorun' root = File.expand_path(File.join(File.dirname(__FILE__), '..')) ActiveRecord::Base.establish_connection( - :adapter => "sqlite3", + :adapter => (RUBY_PLATFORM == 'java') ? "jdbcsqlite3" : "sqlite3", :database => "#{root}/db/safeattributes.db" ) RSpec.configure do |config| end