Module: ActiveSupport::ExecutionContext::TestHelper

Defined in:
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activesupport-7.0.4/lib/active_support/execution_context/test_helper.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#after_teardownObject



9
10
11
12
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activesupport-7.0.4/lib/active_support/execution_context/test_helper.rb', line 9

def after_teardown
  super
  ActiveSupport::ExecutionContext.clear
end

#before_setupObject



4
5
6
7
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activesupport-7.0.4/lib/active_support/execution_context/test_helper.rb', line 4

def before_setup
  ActiveSupport::ExecutionContext.clear
  super
end