Class: Test::Unit::TestCase

Inherits:
Object
  • Object
show all
Defined in:
lib/speak_your_mind.rb

Instance Method Summary collapse

Instance Method Details

#nameObject



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