Module: MiniTestSpecRails::DSL
- Defined in:
- lib/minitest-spec-rails/dsl.rb
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.included(klass) ⇒ Object
3 4 5 6 |
# File 'lib/minitest-spec-rails/dsl.rb', line 3 def self.included(klass) klass.extend ClassMethods remove_method :test if method_defined?(:test) end |
Instance Method Details
#described_class ⇒ Object
33 34 35 |
# File 'lib/minitest-spec-rails/dsl.rb', line 33 def described_class self.class.described_class end |