Sha256: ba2351e9082947eb61c2d56d7870b3c2ad840f3999bf4a16ffb1444dcc6cdad7
Contents?: true
Size: 541 Bytes
Versions: 8
Compression:
Stored size: 541 Bytes
Contents
require File.dirname(__FILE__) + '/../../spec_helper' require 'ginger' require 'active_record' DB_FILE = File.expand_path(File.dirname(__FILE__)+'/db.sqlite3') %w{migration initializer models}.each do |file| require "#{File.dirname(__FILE__)}/#{file}" end Spec::Runner.configure do |config| config.before(:all) do FileUtils.rm_f(DB_FILE) ActiveRecord::Base.establish_connection( :adapter => "sqlite3", :database => DB_FILE ) MigrationForTest.verbose = false MigrationForTest.up end end
Version data entries
8 entries across 8 versions & 1 rubygems