<commit_before>require './spec/spec_helper'

describe GoogleAjaxCrawler::Drivers::Driver do
  let(:options) do 
    GoogleAjaxCrawler::Options.new(nil) do |o|
      o.timeout = 0.05
      o.page_loaded_test = lambda {|d| false }
    end
  end

  describe '#wait_until_page_is_fully_loaded' do
    it 'should raise a Timeout Exception when timeout limit reached' do
      expect do
        driver = GoogleAjaxCrawler::Drivers::Driver.new(options)
        driver.wait_until_page_is_fully_loaded
      end.to raise_error(Timeout::Error)
    end
  end
end
<commit_msg>increasing timeout for rbx tests<commit_after>require './spec/spec_helper'

describe GoogleAjaxCrawler::Drivers::Driver do
  let(:options) do 
    GoogleAjaxCrawler::Options.new(nil) do |o|
      o.timeout = 0.25
      o.page_loaded_test = lambda {|d| false }
    end
  end

  describe '#wait_until_page_is_fully_loaded' do
    it 'should raise a Timeout Exception when timeout limit reached' do
      expect do
        driver = GoogleAjaxCrawler::Drivers::Driver.new(options)
        driver.wait_until_page_is_fully_loaded
      end.to raise_error(Timeout::Error)
    end
  end
end

{'fraction_non_alphanumeric': 0.08718395815170009, 'fraction_numerical': 0.0052310374891020054, 'mean_word_length': 3.5737051792828685, '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': '4101178', 'n_tokens_mistral': 388, 'n_tokens_neox': 371, 'n_words': 88}