test/test_helper.rb in conditional_validation-0.0.5 vs test/test_helper.rb in conditional_validation-0.1.0

- old
+ new

@@ -1,20 +1,15 @@ -# Configure Rails Environment ENV["RAILS_ENV"] = "test" require File.expand_path("../dummy/config/environment.rb", __FILE__) require "rails/test_help" require "minitest/rails" -require "minitest/ansi" -require "wrong/adapters/minitest" -MiniTest::ANSI.use! -Wrong.config.color - Rails.backtrace_cleaner.remove_silencers! +ActiveSupport::Deprecation.silenced = true # Load support files -Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f } +Dir[Rails.root.join("test/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