<commit_before>require 'spec_helper'

describe Lobbyist::V2::Company, customer_call: true do
  describe "#disconnect_direct_connect" do
    it 'disconnect from the company and return the company' do
      VCR.use_cassette('v2/company_disconnect_direct_connect') do
        results = Lobbyist::V2::Company.disconnect_direct_connect(5565)
        expect(results).to be_a(Lobbyist::V2::Company)
        expect(results.workflow_system_id).to be(nil)
      end
    end

    it 'direct_connect_settings for company' do
      VCR.use_cassette('v2/direct_connect_setting') do
        results = Lobbyist::V2::Company.direct_connect_settings(5565)
        expect(results).to be_a(Lobbyist::V2::DirectConnectSetting)
        expect(results.company_id).to be(5565)
      end
    end
  end
end
<commit_msg>CA-7071 #comment Fixed formatting issue for company spec.<commit_after>require 'spec_helper'

describe Lobbyist::V2::Company, customer_call: true do
  describe "#disconnect_direct_connect" do
    it 'disconnect from the company and return the company' do
      VCR.use_cassette('v2/company_disconnect_direct_connect') do
        results = Lobbyist::V2::Company.disconnect_direct_connect(5565)
        expect(results).to be_a(Lobbyist::V2::Company)
        expect(results.workflow_system_id).to be(nil)
      end
    end
  end

  describe "#direct_connect_settings" do
    it 'direct_connect_settings for company' do
      VCR.use_cassette('v2/direct_connect_setting') do
        results = Lobbyist::V2::Company.direct_connect_settings(5565)
        expect(results).to be_a(Lobbyist::V2::DirectConnectSetting)
        expect(results.company_id).to be(5565)
      end
    end
  end
end

{'fraction_non_alphanumeric': 0.09421586165772212, 'fraction_numerical': 0.025044722719141325, 'mean_word_length': 4.115853658536586, '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': '7369490', 'n_tokens_mistral': 558, 'n_tokens_neox': 537, 'n_words': 105}