Module: ActiveSupport::CurrentAttributes::TestHelper

Defined in:
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activesupport-7.0.4/lib/active_support/current_attributes/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/current_attributes/test_helper.rb', line 9

def after_teardown
  super
  ActiveSupport::CurrentAttributes.reset_all
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/current_attributes/test_helper.rb', line 4

def before_setup
  ActiveSupport::CurrentAttributes.reset_all
  super
end