Sha256: a3e31f4308d865d30c90a4b53e7644f103d6cb21e429ed3f5c2a0daca162b9a4
Contents?: true
Size: 665 Bytes
Versions: 2
Compression:
Stored size: 665 Bytes
Contents
# Configure Rails Environment ENV["RAILS_ENV"] = "test" require File.expand_path("../../<%= options[:dummy_path] -%>/config/environment.rb", __FILE__) <% unless options[:skip_active_record] -%> ActiveRecord::Migrator.migrations_paths = [File.expand_path("../../<%= options[:dummy_path] -%>/db/migrate", __FILE__)] <% end -%> require "rails/test_help" Rails.backtrace_cleaner.remove_silencers! # Load support files Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f } # Load fixtures from the engine if ActiveSupport::TestCase.respond_to?(:fixture_path=) ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__) end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
railties-4.2.0.beta3 | lib/rails/generators/rails/plugin/templates/test/test_helper.rb |
railties-4.2.0.beta2 | lib/rails/generators/rails/plugin/templates/test/test_helper.rb |