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-7.0.8.1 lib/active_support/current_attributes/test_helper.rb
activesupport-6.1.7.7 lib/active_support/current_attributes/test_helper.rb
mlh-rubocop-config-1.0.3 vendor/bundle/ruby/3.2.0/gems/activesupport-7.1.3/lib/active_support/current_attributes/test_helper.rb
activesupport-7.1.3 lib/active_support/current_attributes/test_helper.rb
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/activesupport-7.0.2.3/lib/active_support/current_attributes/test_helper.rb
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/activesupport-7.0.3.1/lib/active_support/current_attributes/test_helper.rb
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/activesupport-6.1.6.1/lib/active_support/current_attributes/test_helper.rb
activesupport-7.1.2 lib/active_support/current_attributes/test_helper.rb
activesupport-7.1.1 lib/active_support/current_attributes/test_helper.rb
activesupport-7.1.0 lib/active_support/current_attributes/test_helper.rb
activesupport-7.1.0.rc2 lib/active_support/current_attributes/test_helper.rb
activesupport-7.1.0.rc1 lib/active_support/current_attributes/test_helper.rb
activesupport-7.1.0.beta1 lib/active_support/current_attributes/test_helper.rb
activesupport-7.0.8 lib/active_support/current_attributes/test_helper.rb
activesupport-7.0.7.2 lib/active_support/current_attributes/test_helper.rb
activesupport-6.1.7.6 lib/active_support/current_attributes/test_helper.rb
activesupport-7.0.7.1 lib/active_support/current_attributes/test_helper.rb
activesupport-6.1.7.5 lib/active_support/current_attributes/test_helper.rb
activesupport-7.0.7 lib/active_support/current_attributes/test_helper.rb
mlh-rubocop-config-1.0.2 vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.6/lib/active_support/current_attributes/test_helper.rb