examples/rails.rb in roxml-3.1.6 vs examples/rails.rb in roxml-3.2.0
- old
+ new
@@ -1,13 +1,12 @@
#!/usr/bin/env ruby
require_relative './../spec/spec_helper'
require 'sqlite3'
require 'active_record'
-DB_PATH = 'spec/examples/rails.sqlite3'
ActiveRecord::Base.establish_connection(
:adapter => 'sqlite3',
- :database => DB_PATH
+ :database => ':memory:'
)
class Waypoint < ActiveRecord::Base
include ROXML
\ No newline at end of file