<commit_before>require 'spec_helper'
require 'sprockets'

describe Firehose::Assets do
  describe ".path" do
    it "should have root path" do
      Firehose::Assets.path('poop').should == File.expand_path('../../../lib/assets/poop', __FILE__)
    end

    it "should accept folders" do
      Firehose::Assets.path('poop').should == File.join(Firehose::Assets.path, 'poop')
    end
  end

  describe "Sprockets.configure" do
    it "should configure environment" do
      env = Firehose::Assets::Sprockets.configure Sprockets::Environment.new
      env.paths.should include(Firehose::Assets.path('flash'),  Firehose::Assets.path('javascripts'))
    end
  end
end<commit_msg>and a test to match the sprockets changes<commit_after>require 'spec_helper'
require 'sprockets'

describe Firehose::Assets do
  describe ".path" do
    it "should have root path" do
      Firehose::Assets.path('poop').should == File.expand_path('../../../lib/assets/poop', __FILE__)
    end

    it "should accept folders" do
      Firehose::Assets.path('poop').should == File.join(Firehose::Assets.path, 'poop')
    end
  end

  describe "Sprockets.configure" do
    it "should configure environment" do
      env = Firehose::Assets::Sprockets.configure Sprockets::Environment.new
      env.paths.should include(Firehose::Assets.path('javascripts'))
    end
  end
end
{'fraction_non_alphanumeric': 0.1355174981384959, 'fraction_numerical': 0.0, 'mean_word_length': 3.887272727272727, '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': '2607992', 'n_tokens_mistral': 448, 'n_tokens_neox': 439, 'n_words': 99}