Sha256: 8ba2fb304eabf84d4e16ef8dee83b39e5cb11c255888151b06a08b865efced23

Contents?: true

Size: 827 Bytes

Versions: 15

Compression:

Stored size: 827 Bytes

Contents

ENV["RAILS_ENV"] = "test"
$:.unshift(File.dirname(__FILE__) + '/../lib')

require 'rubygems'
require 'active_record'
require 'active_record/version'
require 'active_record/fixtures'
require 'action_controller'
require 'action_controller/test_process'
require 'action_view'
require 'active_support'
require 'test/unit'
require 'conductor'
require 'shoulda'

require File.dirname(__FILE__) + '/../init.rb'


config = YAML::load(IO.read(File.dirname(__FILE__) + '/db/database.yml'))
# ActiveRecord::Base.logger = Logger.new(STDOUT) # Logger.new(File.dirname(__FILE__) + "/debug.log")
ActiveRecord::Base.establish_connection(config[ENV['DB'] || 'postgresql'])
ActiveRecord::Migration.verbose = false
load(File.dirname(__FILE__) + "/db/schema.rb")

@@cache = ActiveSupport::Cache::MemoryStore.new

class Test::Unit::TestCase
  
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
conductor-0.8.3 test/test_helper.rb
conductor-0.8.1 test/test_helper.rb
conductor-0.7.2 test/test_helper.rb
conductor-0.7.1 test/test_helper.rb
conductor-0.7.0 test/test_helper.rb
conductor-0.6.5 test/test_helper.rb
conductor-0.6.4 test/test_helper.rb
conductor-0.6.3 test/test_helper.rb
conductor-0.5.15 test/test_helper.rb
conductor-0.5.14 test/test_helper.rb
conductor-0.5.13 test/test_helper.rb
conductor-0.5.12 test/test_helper.rb
conductor-0.5.11 test/test_helper.rb
conductor-0.5.10 test/test_helper.rb
conductor-0.5.0 test/test_helper.rb