<commit_before>require 'spec_helper'

describe HtmlGenerator do
  subject { HtmlGenerator }

  it { should respond_to(:process) }

  it "should require markdown" do
    -> { subject.process }.should raise_error ArgumentError
  end

  it "should allow setting of the stylesheets via the options" do<commit_msg>Use ruby 1.8 lambda style.<commit_after>require 'spec_helper'

describe HtmlGenerator do
  subject { HtmlGenerator }

  it { should respond_to(:process) }

  it "should require markdown" do
    lambda do
      subject.process
    end.should raise_error ArgumentError
  end

  it "should allow setting of the stylesheets via the options" do
{'fraction_non_alphanumeric': 0.06481481481481481, 'fraction_numerical': 0.0030864197530864196, 'mean_word_length': 3.9923076923076923, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '3303846', 'n_tokens_mistral': 193, 'n_tokens_neox': 180, 'n_words': 67}