<commit_before>require "spec_helper"

describe SolidAssert::Assert do
  describe ".enable_assertions" do
    it "should make the Object class to include the Assertions module" do
      Object.should_receive(:include).with(SolidAssert::Assert)<commit_msg>Spec for testing that assertions are disabled by default<commit_after>require "spec_helper"

describe SolidAssert::Assert do
  it "should enable the empty assert method by default" do
    assert false
  end

  it "should enable the empty invariant method by default" do
    invariant{false}
  end

  describe ".enable_assertions" do
    it "should make the Object class to include the Assertions module" do
      Object.should_receive(:include).with(SolidAssert::Assert)
{'fraction_non_alphanumeric': 0.06629834254143646, 'fraction_numerical': 0.0, 'mean_word_length': 4.846774193548387, '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': '2218691', 'n_tokens_mistral': 196, 'n_tokens_neox': 183, 'n_words': 74}