Sha256: 16da90cadc8c230c63ec6d3e8b81b0faddd42143641be2e72fe8bf7567ce4a18

Contents?: true

Size: 264 Bytes

Versions: 125

Compression:

Stored size: 264 Bytes

Contents

# frozen_string_literal: true

module ActiveSupport::CurrentAttributes::TestHelper # :nodoc:
  def before_setup
    ActiveSupport::CurrentAttributes.reset_all
    super
  end

  def after_teardown
    super
    ActiveSupport::CurrentAttributes.reset_all
  end
end

Version data entries

125 entries across 119 versions & 16 rubygems

Version Path
activesupport-8.0.0 lib/active_support/current_attributes/test_helper.rb
activesupport-7.2.2 lib/active_support/current_attributes/test_helper.rb
activesupport-7.1.5 lib/active_support/current_attributes/test_helper.rb
activesupport-8.0.0.rc2 lib/active_support/current_attributes/test_helper.rb
activesupport-7.2.1.2 lib/active_support/current_attributes/test_helper.rb
activesupport-7.1.4.2 lib/active_support/current_attributes/test_helper.rb
activesupport-7.0.8.6 lib/active_support/current_attributes/test_helper.rb
activesupport-6.1.7.10 lib/active_support/current_attributes/test_helper.rb
activesupport-8.0.0.rc1 lib/active_support/current_attributes/test_helper.rb
activesupport-6.1.7.9 lib/active_support/current_attributes/test_helper.rb
activesupport-7.2.1.1 lib/active_support/current_attributes/test_helper.rb
activesupport-7.1.4.1 lib/active_support/current_attributes/test_helper.rb
activesupport-7.0.8.5 lib/active_support/current_attributes/test_helper.rb
activesupport-8.0.0.beta1 lib/active_support/current_attributes/test_helper.rb
omg-activesupport-8.0.0.alpha9 lib/active_support/current_attributes/test_helper.rb
omg-activesupport-8.0.0.alpha8 lib/active_support/current_attributes/test_helper.rb
omg-activesupport-8.0.0.alpha7 lib/active_support/current_attributes/test_helper.rb
omg-activesupport-8.0.0.alpha4 lib/active_support/current_attributes/test_helper.rb
omg-activesupport-8.0.0.alpha3 lib/active_support/current_attributes/test_helper.rb
omg-activesupport-8.0.0.alpha2 lib/active_support/current_attributes/test_helper.rb