Sha256: 08178bd4709f8e386fb15a6aa4aca9853f1ef26698d3b894ac7c648d6fc0c7a7

Contents?: true

Size: 785 Bytes

Versions: 14

Compression:

Stored size: 785 Bytes

Contents

# Set the default environment to sqlite3's in_memory database
ENV['RAILS_ENV'] ||= 'in_memory'

# Load the Rails environment and testing framework
require "#{File.dirname(__FILE__)}/app_root/config/environment"
require "#{File.dirname(__FILE__)}/../lib/aegis"
require 'test_help'
require 'action_view/test_case' # Load additional test classes not done automatically by < Rails 2.2.2

require "shoulda"

# Undo changes to RAILS_ENV
silence_warnings {RAILS_ENV = ENV['RAILS_ENV']}

# Run the migrations
ActiveRecord::Migrator.migrate("#{Rails.root}/db/migrate")

# Set default fixture loading properties
ActiveSupport::TestCase.class_eval do
  self.use_transactional_fixtures = true
  self.use_instantiated_fixtures = false
  self.fixture_path = "#{File.dirname(__FILE__)}/fixtures"
end

Version data entries

14 entries across 14 versions & 5 rubygems

Version Path
Chrononaut-aegis-1.2.0 test/test_helper.rb
makandra-aegis-1.1.1 test/test_helper.rb
makandra-aegis-1.1.2 test/test_helper.rb
aegis-1.1.8 test/test_helper.rb
thelinuxlich-aegis-1.1.9 test/test_helper.rb
thelinuxlich-aegis-1.1.8 test/test_helper.rb
thelinuxlich-aegis-1.1.7 test/test_helper.rb
aegis-1.1.7 test/test_helper.rb
bmaland-aegis-1.1.6 test/test_helper.rb
aegis-1.1.6 test/test_helper.rb
aegis-1.1.5 test/test_helper.rb
bmaland-aegis-1.1.5 test/test_helper.rb
aegis-1.1.4 test/test_helper.rb
aegis-1.1.3 test/test_helper.rb