method
after_teardown
v7.2.3 -
Show latest stable
- Class:
ActiveSupport::Testing::TestsWithoutAssertions
after_teardown()public
No documentation available.
# File activesupport/lib/active_support/testing/tests_without_assertions.rb, line 9
def after_teardown
super
if assertions.zero? && !skipped? && !error?
file, line = method(name).source_location
warn "Test is missing assertions: `#{name}` #{file}:#{line}"
end
end