Module: SimplyTestable::TestCase::ClassMethods
- Defined in:
- lib/simply_testable/test_case.rb
Instance Method Summary collapse
-
#st_model_name ⇒ Object
I don’t like this quick and dirty name.
Instance Method Details
#st_model_name ⇒ Object
I don’t like this quick and dirty name
16 17 18 |
# File 'lib/simply_testable/test_case.rb', line 16 def st_model_name self.name.demodulize.sub(/Test$/,'') end |