edge badge
Methods
A
F
Included Modules
Constants
Assertion = Minitest::Assertion
 
Class Public methods
for_tag(tag)
# File activesupport/lib/active_support/test_case.rb, line 19
def self.for_tag(tag)
  yield if $tags[tag]
end
Instance Public methods
assert_nothing_raised(*args)

Fails if the block raises an exception.

assert_nothing_raised do
  ...
end
# File activesupport/lib/active_support/test_case.rb, line 55
def assert_nothing_raised(*args)
  yield
end