Sha256: 1f127e113eef4ce9a650c6c5977f4cde63b22186a3e7d4159bbf208bd313e174

Contents?: true

Size: 753 Bytes

Versions: 1

Compression:

Stored size: 753 Bytes

Contents

# Make sure our default RAILS_ROOT from the helper plugin is in the load path
HELPER_RAILS_ROOT = "#{File.dirname(__FILE__)}/../generators/plugin_test_structure/templates/app_root"
$:.unshift(HELPER_RAILS_ROOT)

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

# Load the default framework libraries
require 'config/boot'
require 'active_support'
require 'action_controller'

# Load extensions for helping determine where certain environment files are
# located
require 'plugin_test_helper/generator'
require 'plugin_test_helper/extensions/initializer'
require 'plugin_test_helper/extensions/routing'

# Load the Rails environment and unit testing framework
require 'config/environment'
require 'test/unit'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
plugin_test_helper-0.0.1 lib/plugin_test_helper.rb