<commit_before>require 'spec_helper'

describe String do
  let(:plain_string) { "GOal!" }
  let(:hyperbolize_string) { "GOOOaaal!" }
  let(:a4_hyperbolize_string) { "GOOOOaaaal!" }
  let(:dramatize_string) { "GOal!!!!" }
  let(:a4_dramatize_string) { "GOal!!!!!" } 
  let(:stringosaur_string) { "GOawrl!" }
  let(:duplicate_vowels) { "GOOOGLE" }
  let(:stringosaur_duplicate_vowels) { "GOOOWRGLEWR" } 

  describe '::hyperbolize' do
    it 'should return a string with double vowels then before' do
      subject.hyperbolize(plain_string).should == hyperbolize_string
    end
  end

  describe '::hyperbolize(plain_string, { :length => 4 }' do
    it 'should return a string with quadruple vowels then before' do
      subject.hyperbolize(plain_string, { :length => 4 }).should == a4_hyperbolize_string
    end
  end

  describe '::dramatize' do
    it "should return a string that adds with triple '!'" do
      subject.dramatize(plain_string).should == dramatize_string
    end
  end<commit_msg>fix failing spec because of wrong subject<commit_after>require 'spec_helper'

describe Vocaloo do
  let(:plain_string) { "GOal!" }
  let(:hyperbolize_string) { "GOOOaaal!" }
  let(:a4_hyperbolize_string) { "GOOOOaaaal!" }
  let(:dramatize_string) { "GOal!!!!" }
  let(:a4_dramatize_string) { "GOal!!!!!" } 
  let(:stringosaur_string) { "GOawrl!" }
  let(:duplicate_vowels) { "GOOOGLE" }
  let(:stringosaur_duplicate_vowels) { "GOOOWRGLEWR" } 

  describe '::hyperbolize' do
    it 'should return a string with double vowels then before' do
      subject.hyperbolize(plain_string).should == hyperbolize_string
    end
  end

  describe '::hyperbolize(plain_string, { :length => 4 }' do
    it 'should return a string with quadruple vowels then before' do
      subject.hyperbolize(plain_string, { :length => 4 }).should == a4_hyperbolize_string
    end
  end

  describe '::dramatize' do
    it "should return a string that adds with triple '!'" do
      subject.dramatize(plain_string).should == dramatize_string
    end
  end
{'fraction_non_alphanumeric': 0.1245674740484429, 'fraction_numerical': 0.004943153732081068, 'mean_word_length': 4.36870026525199, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '1417646', 'n_tokens_mistral': 729, 'n_tokens_neox': 702, 'n_words': 163}