<commit_before>describe ACL::UserVariables do

  before do
  end
  
  it "should add some variables to be used by validators" do
    ACL::some_arbitrary_value = true

  end

end<commit_msg>Convert instance variables into global variables to be used by other tests<commit_after>describe ACL::UserVariables do

  before do
    $string_variable = "Test string"
    $hash_variable = Hash.new
  end

  it "should add some variables to be used by validators" do
    ACL.some_arbitrary_value = true
    ACL.string_value = $string_variable
    ACL.hash_value = $hash_variable
    ACL.controller.variables.length.should == 3
  end

  it "should be able to access to previous defined variables"  do
    ACL.some_arbitrary_value.should be_true
    ACL.string_value.should eq $string_variable
    ACL.hash_value.should == $hash_variable
  end
end
{'fraction_non_alphanumeric': 0.05995203836930456, 'fraction_numerical': 0.001199040767386091, 'mean_word_length': 3.7988505747126435, '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': '6476704', 'n_tokens_mistral': 264, 'n_tokens_neox': 250, 'n_words': 82}