Sha256: d72a66a7f68080244e37c9aa16d0abdd833fe3966727f6f31a6e9c9d38e355a2

Contents?: true

Size: 633 Bytes

Versions: 29

Compression:

Stored size: 633 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

29 entries across 29 versions & 4 rubygems

Version Path
skozlov-netzke-core-0.4.1 test/test_helper.rb
skozlov-netzke-core-0.4.2 test/test_helper.rb
skozlov-netzke-core-0.4.3 test/test_helper.rb
netzke-core-0.6.2 test/test_helper.rb
netzke-core-0.6.1 test/test_helper.rb
netzke-basepack-0.6.0 test/test_helper.rb
netzke-core-0.6.0 test/test_helper.rb
netzke-basepack-0.5.14 test/test_helper.rb
netzke-core-0.5.5 test/test_helper.rb
netzke-basepack-0.5.13 test/test_helper.rb
netzke-core-0.5.4 test/test_helper.rb
netzke-basepack-0.5.12 test/test_helper.rb
netzke-basepack-0.5.11 test/test_helper.rb
netzke-basepack-0.5.10 test/test_helper.rb
netzke-core-0.5.3 test/test_helper.rb
netzke-basepack-0.5.9 test/test_helper.rb
netzke-core-0.5.2 test/test_helper.rb
plugin_test_helper-0.3.1 generators/plugin_test_structure/templates/test_helper.rb
netzke-core-0.5.1 test/test_helper.rb
netzke-core-0.5.0 test/test_helper.rb