Class: Test::Unit::TestCase
- Inherits:
-
Object
- Object
- Test::Unit::TestCase
- Defined in:
- lib/speak_your_mind.rb
Instance Method Summary collapse
Instance Method Details
#name ⇒ Object
10 11 12 13 14 15 16 |
# File 'lib/speak_your_mind.rb', line 10 def name if (defined? Shoulda) && (self.class.include? Shoulda::InstanceMethods) @method_name.gsub /test: /,"" else @method_name end end |