Sha256: 899ec10cc933bf26fb666d6484f45889e0a6c8c3c98aba9699905203719ac737

Contents?: true

Size: 685 Bytes

Versions: 4

Compression:

Stored size: 685 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/../../../../test/test_helper') # the default rails helper

# ensure that the Engines testing enhancements are loaded.
require File.join(Engines.config(:root), "engines", "lib", "engines", "testing_extensions")

# Ensure that the code mixing and view loading from the application is disabled
Engines.disable_app_views_loading = true
Engines.disable_app_code_mixing = true

# force these config values
module <%= engine_class_name %>
#  config :some_option, "some_value"
end

# set up the fixtures location
Test::Unit::TestCase.fixture_path = File.dirname(__FILE__)  + "/fixtures/"
$LOAD_PATH.unshift(Test::Unit::TestCase.fixture_path)

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
parlement-0.10 vendor/plugins/engines/generators/engine/templates/test/test_helper.erb
parlement-0.7 vendor/plugins/engines/generators/engine/templates/test/test_helper.erb
parlement-0.8 vendor/plugins/engines/generators/engine/templates/test/test_helper.erb
parlement-0.9 vendor/plugins/engines/generators/engine/templates/test/test_helper.erb