<commit_before>require 'spec_helper'

describe TresDelta::Client do
  let(:wsdl) { "http://example.com" }

  let(:client) { TresDelta::Client.new(wsdl) }
  let(:config) { TresDelta::Config.config }

  describe "#client_credentials" do
    it "uses the credentials passed into it" do
      client.client_credentials.should == {
        "ClientCode" => config["client_code"],
        "Password" => config["password"],
        "UserName" => config["user_name"]
      }
    end
  end

  describe "#client" do
    it "returns a Savon client for the WSDL" do
      client.client.class.should == Savon::Client
      # client.client.wsdl.document.should == wsdl
    end
  end
end<commit_msg>Remove commented line<commit_after>require 'spec_helper'

describe TresDelta::Client do
  let(:wsdl) { "http://example.com" }

  let(:client) { TresDelta::Client.new(wsdl) }
  let(:config) { TresDelta::Config.config }

  describe "#client_credentials" do
    it "uses the credentials passed into it" do
      client.client_credentials.should == {
        "ClientCode" => config["client_code"],
        "Password" => config["password"],
        "UserName" => config["user_name"]
      }
    end
  end

  describe "#client" do
    it "returns a Savon client for the WSDL" do
      client.client.class.should == Savon::Client
    end
  end
end
{'fraction_non_alphanumeric': 0.13378684807256236, 'fraction_numerical': 0.0, 'mean_word_length': 3.284789644012945, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '2951133', 'n_tokens_mistral': 427, 'n_tokens_neox': 410, 'n_words': 99}