Run the logger tests in isolation

This commit is contained in:
Rafael Mendonça França 2012-06-19 23:21:00 -03:00
parent 453188568d
commit 39dec69712
2 changed files with 3 additions and 1 deletions

@ -39,7 +39,7 @@ class ParallelEach
include Enumerable
# default to 2 cores
CORES = ENV['TEST_CORES'].to_i || 2
CORES = (ENV['TEST_CORES'] || 2).to_i
def initialize list
@list = list

@ -5,6 +5,7 @@
module ApplicationTests
module RackTests
class LoggerTest < ActiveSupport::TestCase
include ActiveSupport::Testing::Isolation
include ActiveSupport::LogSubscriber::TestHelper
include Rack::Test::Methods
@ -17,6 +18,7 @@ def setup
end
def teardown
super
teardown_app
end