Module: ActiveSupport::ExecutionContext::TestHelper

Defined in:
lib/active_support/execution_context/test_helper.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#after_teardownObject

[View source]

9
10
11
12
# File 'lib/active_support/execution_context/test_helper.rb', line 9

def after_teardown
  super
  ActiveSupport::ExecutionContext.clear
end

#before_setupObject

[View source]

4
5
6
7
# File 'lib/active_support/execution_context/test_helper.rb', line 4

def before_setup
  ActiveSupport::ExecutionContext.clear
  super
end