Class: MiniTest::Unit::TestCase
- Inherits:
-
Object
- Object
- MiniTest::Unit::TestCase
- Extended by:
- SharedShould::SharedContext
- Defined in:
- lib/shared_should/test_unit_hooks.rb,
lib/shared_should/test_unit_hooks.rb
Class Method Summary collapse
- .test_methods ⇒ Object
-
.test_methods_without_shared_should_execute ⇒ Object
these methods need to be aliased for both the test class and the should context.
Methods included from SharedShould::SharedContext
Class Method Details
.test_methods ⇒ Object
13 14 15 16 17 18 |
# File 'lib/shared_should/test_unit_hooks.rb', line 13 def self.test_methods # assuming 'test_methods' is called before executing any tests - may be a poor assumption. Find something better? execute_class_shared_proxies test_methods_without_shared_should_execute end |
.test_methods_without_shared_should_execute ⇒ Object
these methods need to be aliased for both the test class and the should context
6 |
# File 'lib/shared_should/test_unit_hooks.rb', line 6 alias_method :test_methods_without_shared_should_execute, :test_methods |