Sha256: d3f12c1d1dbf9d8d3d9cb9166b4dd9c74e1d23ba51f24be6bf6d4e16fe8f7528
Contents?: true
Size: 804 Bytes
Versions: 2
Compression:
Stored size: 804 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(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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
conductor-0.4.1 | test/test_helper.rb |
conductor-0.3.0 | test/test_helper.rb |