summaryrefslogtreecommitdiff
path: root/help/test/test_helper.rb
blob: 3381f44411e8a3eeb3d5faade6521727df00af7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Configure Rails Environment
ENV["RAILS_ENV"] = "test"

require File.expand_path('../../../test/dummy/config/environment', __FILE__)
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.method_defined?(:fixture_path=)
  ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
end