<commit_before>require 'spec_helper'
require 'json_expressions'
require 'json_expressions/rspec'

describe RSpec do
  it "includes JsonExpressions::RSpec::Matchers" do
    # TODO actually verify this.
    # For now this spec verifies the spec helper file loads without errors
    true.should be_true
  end
end<commit_msg>Verify rspec matcher is correctly included.<commit_after>require 'spec_helper'
require 'json_expressions'
require 'json_expressions/rspec'

describe RSpec do
  it "includes JsonExpressions::RSpec::Matchers" do
    modules = ::RSpec.configuration.include_or_extend_modules
    modules.select! { |(mode,mod,_)| mode == :include }
    modules.map! { |(mode,mod,_)| mod }
    modules.should include(::JsonExpressions::RSpec::Matchers)
  end
end
{'fraction_non_alphanumeric': 0.09724047306176084, 'fraction_numerical': 0.0, 'mean_word_length': 5.4033613445378155, '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': '4314665', 'n_tokens_mistral': 232, 'n_tokens_neox': 230, 'n_words': 63}