<commit_before>#!/usr/bin/env bundle exec rspec
# encoding: utf-8

require "spec_helper"
require "sockjs"

describe SockJS do
  describe ".connect" do
    it "should work without any arguments" do
      EM.run do
        -> { described_class.connect }.should_not raise_error

        EM.stop
      end
    end

    it "should let you specify options such as port and host" do
      EM.run do
        -> { described_class.connect(host: "localhost", port: 9292) }.should_not raise_error

        EM.stop
      end
    end

    it "should include SockJS::Connection" do
      EM.run do
        connection = described_class.connect
        meta_class = class << connection; self; end
        meta_class.included_modules.should include(described_class::Connection)

        EM.stop
      end
    end
  end<commit_msg>This tests are obsolete now.<commit_after>#!/usr/bin/env bundle exec rspec
# encoding: utf-8

require "spec_helper"
require "sockjs"

describe SockJS do
{'fraction_non_alphanumeric': 0.08298755186721991, 'fraction_numerical': 0.006224066390041493, 'mean_word_length': 2.6973180076628354, 'pattern_counts': {'":': 0, '<': 5, '<?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': '4375589', 'n_tokens_mistral': 301, 'n_tokens_neox': 285, 'n_words': 90}