<commit_before>require 'acceptance/spec_helper'

describe "Basics" do
  subject { ARANGO_HOST }

  # it "should have booted up an ArangoDB instance" do
    # expect { RestClient.get(subject) }.to_not raise_error
  # end

  describe "initialized database" do
    subject { Ashikawa::Core::Database.new ARANGO_HOST }

    after :each do
      subject.collections.each { |collection| collection.delete }<commit_msg>Checking if database is online is already done. Closes #25<commit_after>require 'acceptance/spec_helper'

describe "Basics" do
  subject { ARANGO_HOST }

  describe "initialized database" do
    subject { Ashikawa::Core::Database.new ARANGO_HOST }

    after :each do
      subject.collections.each { |collection| collection.delete }
{'fraction_non_alphanumeric': 0.08993288590604027, 'fraction_numerical': 0.0026845637583892616, 'mean_word_length': 4.253521126760563, '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': '2336357', 'n_tokens_mistral': 231, 'n_tokens_neox': 222, 'n_words': 63}