<commit_before>require File.dirname(__FILE__) + '/spec_helper'

# Stitch the specs together
require File.join(File.dirname(__FILE__), 'controller_spec')
require File.join(File.dirname(__FILE__), 'action_cache_spec')
require File.join(File.dirname(__FILE__), 'mintcache_store_spec')

# I refuse to spell initialisation with a z, this is me; taking it back for the rest of us.
describe "merb-cache initialisation" do
  it "should default to memcached cache store" do
    @cache = Merb::Cache::Store.new
    @cache.config[:store].should eql "memcached"
  end
  it "should error when an incorrect configuation value is mapped to the cache store"
  it "should throw Merb::Cache:Store::NotFound for named cache stores that do not exist"
end

describe "returned caches" do
  it "should return the format it was stored in"
  it "should only cache 200 responses"
end
<commit_msg>Added a spec (not implemented) to raise BadConfiguration when bad configurations are used<commit_after>require File.dirname(__FILE__) + '/spec_helper'

# Stitch the specs together
require File.join(File.dirname(__FILE__), 'controller_spec')
require File.join(File.dirname(__FILE__), 'action_cache_spec')
require File.join(File.dirname(__FILE__), 'mintcache_store_spec')

# I refuse to spell initialisation with a z, this is me; taking it back for the rest of us.
describe "merb-cache initialisation" do
  it "should default to memcached cache store" do
    @cache = Merb::Cache::Store.new
    @cache.config[:store].should eql "memcached"
  end
  it "should error when an incorrect configuation value is mapped to the cache store"
  it "should raise Merb::Cache:Store::NotFound for named cache stores that do not exist"
  it "should raise Merb::Cache::Store::BadConfiguration when a invalid config is used"
end

describe "returned caches" do
  it "should return the format it was stored in"
  it "should only cache 200 responses"
end

{'fraction_non_alphanumeric': 0.0861797162375197, 'fraction_numerical': 0.0031529164477141357, 'mean_word_length': 5.242622950819672, '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': '2814834', 'n_tokens_mistral': 552, 'n_tokens_neox': 539, 'n_words': 222}