<commit_before>require 'spec_helper'

describe 'installing Overcommit' do
  context 'when template directory points to the Overcommit template directory' do
    around do |example|
      repo(template_dir: Overcommit::Installer::TEMPLATE_DIRECTORY) do
        example.run
      end
    end

    it 'automatically installs Overcommit hooks for new repositories' do<commit_msg>Skip test for automatic installation on Windows<commit_after>require 'spec_helper'

describe 'installing Overcommit' do
  context 'when template directory points to the Overcommit template directory' do
    around do |example|
      repo(template_dir: Overcommit::Installer::TEMPLATE_DIRECTORY) do
        example.run
      end
    end

    it 'automatically installs Overcommit hooks for new repositories' do
      if Overcommit::OS.windows?
        # Symlinks in template-dir are not compatible with Windows.
        # Windows users will need to manually install Overcommit for now.
        skip
      end

{'fraction_non_alphanumeric': 0.05188199389623601, 'fraction_numerical': 0.0, 'mean_word_length': 3.5981308411214954, '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': '6263132', 'n_tokens_mistral': 254, 'n_tokens_neox': 245, 'n_words': 97}