<commit_before>require 'pp' # Helps prevent an error like: 'superclass mismatch for class File'
require 'bundler/setup'
Bundler.require(:default)
require './lib/everything/blog/source/posts_finder'
require './spec/support/shared'
require './spec/support/post_helpers'
require 'fakefs/spec_helpers'

describe Everything::Blog::Source::PostsFinder do
  include FakeFS::SpecHelpers
  include PostHelpers


  let(:posts_finder) do
    described_class.new
  end

  describe '#posts' do
    include_context 'with fakefs'<commit_msg>Remove extra line<commit_after>require 'pp' # Helps prevent an error like: 'superclass mismatch for class File'
require 'bundler/setup'
Bundler.require(:default)
require './lib/everything/blog/source/posts_finder'
require './spec/support/shared'
require './spec/support/post_helpers'
require 'fakefs/spec_helpers'

describe Everything::Blog::Source::PostsFinder do
  include FakeFS::SpecHelpers
  include PostHelpers

  let(:posts_finder) do
    described_class.new
  end

  describe '#posts' do
    include_context 'with fakefs'
{'fraction_non_alphanumeric': 0.1061611374407583, 'fraction_numerical': 0.0, 'mean_word_length': 5.518518518518518, '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': '1211841', 'n_tokens_mistral': 322, 'n_tokens_neox': 316, 'n_words': 81}