<commit_before><commit_msg>Commiting so I can undo the commit - if I understand this correctly.<commit_after>require File.dirname(__FILE__) + '/test_helper'
require 'mocha'

class SeleniumOnRailsConfigTest < Test::Unit::TestCase
  
  def test_config_file_in_config_directory
    File.stubs(:expand_path).returns("temporary")
    File.expects(:exist?).with("temporary").returns(false)
    File.expects(:exist?).with(File.join(RAILS_ROOT, 'config', 'selenium.yml')).returns(true)
    YAML.expects(:load_file).with(File.join(RAILS_ROOT, 'config', 'selenium.yml')).returns({:fake => "hash"})
    
    assert_equal({:fake => "hash"}, SeleniumOnRailsConfig.configs)
  end
end
{'fraction_non_alphanumeric': 0.15396113602391628, 'fraction_numerical': 0.0, 'mean_word_length': 6.204301075268817, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 5, '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': '6121131', 'n_tokens_mistral': 230, 'n_tokens_neox': 220, 'n_words': 35}