<commit_before>require "test/unit"

module Authlogic
  module ShouldaMacros
    def should_be_authentic(model)
      should "acts as authentic" do
        assert model.respond_to?(:acts_as_authentic_config)
      end
    end
  end
end

Test::Unit::TestCase.extend Authlogic::ShouldaMacros<commit_msg>Use model_class instead of requiring user to pass in class<commit_after>require "test/unit"

module Authlogic
  module ShouldaMacros
    def should_be_authentic
      klass = model_class
      should "acts as authentic" do
        assert klass.respond_to?(:acts_as_authentic_config)
      end
    end
  end
end

Test::Unit::TestCase.extend Authlogic::ShouldaMacros
{'fraction_non_alphanumeric': 0.06475903614457831, 'fraction_numerical': 0.0, 'mean_word_length': 4.0, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1976711', 'n_tokens_mistral': 206, 'n_tokens_neox': 199, 'n_words': 52}