Sha256: 1028f01de5b51ccf45b5f8e3595a87215239ca9894da6322112442ccb0654d36
Contents?: true
Size: 626 Bytes
Versions: 1
Compression:
Stored size: 626 Bytes
Contents
def silently old_stdout, $stdout = $stdout, StringIO.new yield $stdout = old_stdout end RAILS_ROOT = File.dirname(__FILE__) $LOAD_PATH << "#{RAILS_ROOT}/../lib" << RAILS_ROOT RAILS_ENV = "test" require 'rubygems' require 'initializer' require 'active_support' require 'sqlite3' require 'active_record' require 'test/spec' require 'ruby-debug' ActiveRecord::Base.establish_connection( config = { :adapter => 'sqlite3', :database => ':memory:' }) ActiveRecord::Base.connection.instance_variable_set('@config', config) silently { require 'schema' } require 'models' require 'ultrasphinx' Debugger.start
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ultrasphinx-1.5 | test/test_helper.rb |