Permalink
Browse files

Run the logger tests in isolation

  • Loading branch information...
1 parent 4531885 commit 39dec69712aaf954c0f00f2a32c32356d789e3ed @rafaelfranca rafaelfranca committed Jun 20, 2012
@@ -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

0 comments on commit 39dec69

Please sign in to comment.