Module: SimplyTestable::TestCase::ClassMethods

Defined in:
lib/simply_testable/test_case.rb

Instance Method Summary collapse

Instance Method Details

#st_model_nameObject

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