Module: ActiveSupport::Testing::SetupAndTeardown

Extended by:
Concern
Included in:
ActiveSupport::TestCase
Defined in:
lib/active_support/testing/setup_and_teardown.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Methods included from Concern

append_features, extended, included

Instance Method Details

#after_teardownObject



29
30
31
32
# File 'lib/active_support/testing/setup_and_teardown.rb', line 29

def after_teardown
  run_callbacks :teardown
  super
end

#before_setupObject



24
25
26
27
# File 'lib/active_support/testing/setup_and_teardown.rb', line 24

def before_setup
  super
  run_callbacks :setup
end