class ActiveSupport::TestCase
Constants
- Assertion
Public Class Methods
# File activesupport/lib/active_support/test_case.rb, line 26 def self.for_tag(tag) yield if $tags[tag] end
Public Instance Methods
Fails if the block raises an exception.
assert_nothing_raised do ... end
# File activesupport/lib/active_support/test_case.rb, line 62 def assert_nothing_raised(*args) yield end
© 2004–2016 David Heinemeier Hansson
Licensed under the MIT License.