instance method
_run_class_setup
Ruby on Rails 3.1.12
Since v3.0.20 Last seen in v4.2.9Signature
_run_class_setup()
No documentation comment.
Source
# File activesupport/lib/active_support/testing/isolation.rb, line 48
def _run_class_setup # class setup method should only happen in parent
unless defined?(@@ran_class_setup) || ENV['ISOLATION_TEST']
self.class.setup if self.class.respond_to?(:setup)
@@ran_class_setup = true
end
end
Defined in activesupport/lib/active_support/testing/isolation.rb line 48
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Testing::Isolation