module RSpec::Rails::HelperExampleGroup::ClassMethods

def determine_constant_from_test_name(_ignore)

def determine_constant_from_test_name(_ignore)
  described_class if yield(described_class)
end

def determine_default_helper_class(_ignore)

def determine_default_helper_class(_ignore)
  return unless Module === described_class && !(Class === described_class)
  described_class
end