<commit_before>#encoding: UTF-8
require 'spec_helper'

describe Termit::OutputManager do
  subject { Termit::OutputManager.new }
  describe "instance_methods" do
    describe "display_error_info_and_quit" do
      it "does what is says" do
        expect(STDOUT).to receive(:puts).with("TERMIT: Wrong data. Example: 'termit en es the cowboy ' => 'el vaquero")
        subject.display_error_info
      end
    end

    describe "display_help_and_quit" do
      it "does what is says" do
        expect(STDOUT).to receive(:puts)
        subject.display_help
      end
    end

    describe "display_version_and_quit" do
      it "does what is says" do
        expect(STDOUT).to receive(:puts).with("Termit #{Termit::VERSION}")
        subject.display_version
      end
    end
  end<commit_msg>fix spec typo<commit_after>#encoding: UTF-8
require 'spec_helper'

describe Termit::OutputManager do
  subject { Termit::OutputManager.new }
  describe "instance_methods" do
    describe "display_error_info_and_quit" do
      it "does what is says" do
        expect(STDOUT).to receive(:puts).with("TERMIT: Wrong data. Example: 'termit en es the cowboy ' => 'el vaquero'")
        subject.display_error_info
      end
    end

    describe "display_help_and_quit" do
      it "does what is says" do
        expect(STDOUT).to receive(:puts)
        subject.display_help
      end
    end

    describe "display_version_and_quit" do
      it "does what is says" do
        expect(STDOUT).to receive(:puts).with("Termit #{Termit::VERSION}")
        subject.display_version
      end
    end
  end
{'fraction_non_alphanumeric': 0.09274447949526814, 'fraction_numerical': 0.0012618296529968455, 'mean_word_length': 2.994962216624685, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '5197316', 'n_tokens_mistral': 509, 'n_tokens_neox': 488, 'n_words': 133}