<commit_before>require "rails/all"
require "rails/generators"
require "generator_spec/test_case"

require_relative "../../../../lib/generators/wallpapering-rails/decorator_generator"

module Wallpapering
  describe DecoratorGenerator do
    include GeneratorSpec::TestCase

    destination File.expand_path("generator_specs", '/tmp')

    arguments ["with-kittens"]

    before do
      prepare_destination
      run_generator
    end

    it "creates the app/decorators directory" do
      assert_directory "app/decorators"
    end

    it "creates the named decorator" do
      assert_file "app/decorators/with_kittens.rb",
        "class WithKittens < Wallpapering::Decorator\nend\n"
    end
  end
end
<commit_msg>Fix the load path<commit_after>require "rails/all"
require "rails/generators"
require "generator_spec/test_case"

require_relative "../../../../lib/generators/wallpapering/decorator_generator"

module Wallpapering
  describe DecoratorGenerator do
    include GeneratorSpec::TestCase

    destination File.expand_path("generator_specs", '/tmp')

    arguments ["with-kittens"]

    before do
      prepare_destination
      run_generator
    end

    it "creates the app/decorators directory" do
      assert_directory "app/decorators"
    end

    it "creates the named decorator" do
      assert_file "app/decorators/with_kittens.rb",
        "class WithKittens < Wallpapering::Decorator\nend\n"
    end
  end
end

{'fraction_non_alphanumeric': 0.09287709497206705, 'fraction_numerical': 0.0, 'mean_word_length': 3.5205047318611986, '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': '3140324', 'n_tokens_mistral': 447, 'n_tokens_neox': 427, 'n_words': 99}