Sha256: 3fadd93da5eaa2a4664a93eaeb05d1656fa1996beae0edd4169f6d1cd1957683
Contents?: true
Size: 650 Bytes
Versions: 10
Compression:
Stored size: 650 Bytes
Contents
require 'rubygems' require 'test/unit' require 'shoulda' require 'mocha' class Test::Unit::TestCase end # You can use "rake test AR_VERSION=2.0.5" to test against 2.0.5, for example. # The default is to use the latest installed ActiveRecord. if ENV["AR_VERSION"] gem 'activerecord', "#{ENV["AR_VERSION"]}" gem 'activesupport', "#{ENV["AR_VERSION"]}" end require 'active_record' require 'active_support' $LOAD_PATH.unshift(File.dirname(__FILE__)) require 'slug' ActiveRecord::Base.establish_connection :adapter => "sqlite3", :database => ":memory:" silence_stream(STDOUT) do load(File.dirname(__FILE__) + "/schema.rb") end require 'models'
Version data entries
10 entries across 10 versions & 1 rubygems