From 9d1c6d33645196df697f2733860d23f0bb39b1c4 Mon Sep 17 00:00:00 2001 From: elijah Date: Fri, 22 May 2015 14:24:22 -0700 Subject: fix failing test --- engines/support/test/test_helper.rb | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) (limited to 'engines/support/test/test_helper.rb') diff --git a/engines/support/test/test_helper.rb b/engines/support/test/test_helper.rb index 57cdd63..6c19721 100644 --- a/engines/support/test/test_helper.rb +++ b/engines/support/test/test_helper.rb @@ -1,14 +1,6 @@ -# Configure Rails Environment -ENV["RAILS_ENV"] = "test" - -require "rails/test_help" - -Rails.backtrace_cleaner.remove_silencers! - -# Load support files -Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f } +require_relative "../../../test/test_helper" # Load fixtures from the engine -if ActiveSupport::TestCase.method_defined?(:fixture_path=) - ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__) -end +#if ActiveSupport::TestCase.method_defined?(:fixture_path=) +# ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__) +#end -- cgit v1.2.3