Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

16 lines (13 sloc) 0.368 kb
Bundler.require
require "test/unit"
require "active_support/all"
require "active_record"
require "mocha"
require "db/create_db"
require "transitions"
require "active_model/transitions"
def create_database
ActiveRecord::Base.establish_connection(:adapter => "sqlite3", :database => ":memory:")
ActiveRecord::Migration.verbose = false
CreateDb.migrate(:up)
end
Jump to Line
Something went wrong with that request. Please try again.