Module: ActiveSupport::CurrentAttributes::TestHelper

Defined in:
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/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/active_support/current_attributes/test_helper.rb', line 4

def before_setup
  ActiveSupport::CurrentAttributes.reset_all
  super
end