Class: EtestUnit::TestSuiteCreator
- Inherits:
-
Test::Unit::TestSuiteCreator
- Object
- Test::Unit::TestSuiteCreator
- EtestUnit::TestSuiteCreator
- Defined in:
- lib/etest-unit.rb
Defined Under Namespace
Modules: ActiveRecordAdditions, MochaAdditions
Instance Attribute Summary collapse
-
#tests ⇒ Object
Returns the value of attribute tests.
Instance Method Summary collapse
Instance Attribute Details
#tests ⇒ Object
Returns the value of attribute tests.
31 32 33 |
# File 'lib/etest-unit.rb', line 31 def tests @tests end |
Instance Method Details
#create ⇒ Object
83 84 85 86 87 88 |
# File 'lib/etest-unit.rb', line 83 def create suite = super suite.extend ActiveRecordAdditions if defined?(::ActiveRecord) suite.extend MochaAdditions if defined?(::Mocha) suite end |