Module: MiniTestSpecRails::Init::ActiveSupportBehavior::Descriptions

Defined in:
lib/minitest-spec-rails/init/active_support.rb

Instance Method Summary collapse

Instance Method Details

#described_classObject



15
16
17
18
19
# File 'lib/minitest-spec-rails/init/active_support.rb', line 15

def described_class
  determine_constant_from_test_name(name) do |constant|
    constant.is_a?(Class)
  end
end