Sha256: 0c1abf44267c806540d67c41470f6c257c76f53cd9dc8da7a29a39dac974fa39

Contents?: true

Size: 631 Bytes

Versions: 30

Compression:

Stored size: 631 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 'test_help'

# 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"

  fixtures :all
end

Version data entries

30 entries across 30 versions & 3 rubygems

Version Path
netzke-basepack-0.8.4 test/test_helper.rb
netzke-basepack-0.8.3 test/test_helper.rb
netzke-basepack-0.8.2 test/test_helper.rb
netzke-basepack-0.8.1 test/test_helper.rb
netzke-basepack-0.8.0 test/test_helper.rb
netzke-basepack-0.7.7 test/test_helper.rb
netzke-basepack-zh-0.7.6 test/test_helper.rb
netzke-basepack-0.7.6 test/test_helper.rb
netzke-basepack-0.7.5 test/test_helper.rb
netzke-core-0.7.5 test/test_helper.rb
netzke-basepack-0.7.4 test/test_helper.rb
netzke-basepack-0.7.3 test/test_helper.rb
netzke-basepack-0.7.2 test/test_helper.rb
netzke-core-0.7.4 test/test_helper.rb
netzke-basepack-0.7.1 test/test_helper.rb
netzke-core-0.7.3 test/test_helper.rb
netzke-core-0.7.2 test/test_helper.rb
netzke-core-0.7.1 test/test_helper.rb
netzke-basepack-0.6.5 test/test_helper.rb
netzke-core-0.6.7 test/test_helper.rb