Sha256: 2e9d0563674f1ccfef8e84ebd177a1f56cdffdf463e8f89aba5cb605d293007b
Contents?: true
Size: 730 Bytes
Versions: 6
Compression:
Stored size: 730 Bytes
Contents
require 'rubygems' require 'bundler' Bundler.setup require 'active_record' require 'active_record/fixtures' require 'dase' FIXTURES_PATH = File.join(File.dirname(__FILE__), 'fixtures') ActiveRecord::Base.establish_connection( :adapter => defined?(JRUBY_VERSION) ? 'jdbcsqlite3' : 'sqlite3', :database => ':memory:' ) dep = defined?(ActiveSupport::Dependencies) ? ActiveSupport::Dependencies : ::Dependencies dep.autoload_paths.unshift FIXTURES_PATH ActiveRecord::Migration.verbose = false load File.join(FIXTURES_PATH, 'schema.rb') ActiveRecord::FixtureSet.create_fixtures(FIXTURES_PATH, ActiveRecord::Base.connection.tables) # require 'pry' rescue nil # use it when enabled in gemspec require 'minitest/autorun'
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
dase-5.0.0 | test/helper.rb |
dase-5.1.0 | test/helper.rb |
dase-4.2.1 | test/helper.rb |
dase-4.2.0 | test/helper.rb |
dase-4.1.1 | test/helper.rb |
dase-4.1.0 | test/helper.rb |