Module: Test::Unit::Given::TestThat
- Included in:
- TestCase
- Defined in:
- lib/test/unit/given/test_that.rb
Overview
Public: Module that, when included, makes a class method, test_that
available to create test methods in a more fluent way. See ClassMethods.
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
7 8 9 |
# File 'lib/test/unit/given/test_that.rb', line 7 def self.included(base) base.extend(ClassMethods) end |