<commit_before>require "spec_helper"

describe Supercamp do

  describe ".config" do

    it "require Configuration" do
      expect(Supercamp.config).to be_instance_of Supercamp::Configuration
    end

  end


  describe ".configure" do
 
    it do
      Supercamp.configure {}
    end

    pending

  end


  describe ".campsites" do

    it { expect(Supercamp.campsites).to be_instance_of Supercamp::Criteria::Campsite }

  end


  describe ".campgrounds" do<commit_msg>Finishing spec coverage<commit_after>require "spec_helper"

describe Supercamp do

  describe ".config" do

    it "require Configuration" do
      expect(Supercamp.config).to be_instance_of Supercamp::Configuration
    end

  end


  describe ".configure" do
 
    it "allows options to be set through block" do
      expect(Supercamp.config).to receive(:api_key=).with("yes")
      expect(Supercamp.config).to receive(:timeout=).with(10000)
      Supercamp.configure do |config|
        config.api_key = "yes"
        config.timeout = 10000
      end
    end

  end


  describe ".campsites" do

    it { expect(Supercamp.campsites).to be_instance_of Supercamp::Criteria::Campsite }

  end


  describe ".campgrounds" do
{'fraction_non_alphanumeric': 0.09037656903765691, 'fraction_numerical': 0.008368200836820083, 'mean_word_length': 3.1818181818181817, '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': '2449555', 'n_tokens_mistral': 387, 'n_tokens_neox': 343, 'n_words': 92}