<commit_before>require 'rails/generators/test_unit'

module TestUnit # :nodoc:
  module Generators # :nodoc:
    class JobGenerator < Base # :nodoc:
      check_class_collision suffix: 'JobTest'

      def create_test_file
        template 'unit_test.rb.erb', File.join('test/job', class_path, "#{file_name}_test.rb")
      end
    end
  end
end<commit_msg>Change ActiveJob test directory to "test/jobs"<commit_after>require 'rails/generators/test_unit'

module TestUnit # :nodoc:
  module Generators # :nodoc:
    class JobGenerator < Base # :nodoc:
      check_class_collision suffix: 'JobTest'

      def create_test_file
        template 'unit_test.rb.erb', File.join('test/jobs', class_path, "#{file_name}_test.rb")
      end
    end
  end
end
{'fraction_non_alphanumeric': 0.10828877005347594, 'fraction_numerical': 0.0, 'mean_word_length': 3.710691823899371, 'pattern_counts': {'":': 0, '<': 5, '<?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': '7247943', 'n_tokens_mistral': 255, 'n_tokens_neox': 248, 'n_words': 56}