<commit_before><commit_msg>added system unit tests<commit_after>require File.expand_path('../spec_helper', __FILE__)

describe JenkinsApi::Client::System do
  context "With properly initialized Client" do
    before do
      @client = mock
      @view = JenkinsApi::Client::System.new(@client)
    end

    describe "InstanceMethods" do
      describe "#initialize" do
        it "initializes by receiving an instance of client object" do
          expect(
            lambda{ JenkinsApi::Client::System.new(@client) }
          ).not_to raise_error
        end
      end
    end

  end
end
{'fraction_non_alphanumeric': 0.08983050847457627, 'fraction_numerical': 0.0, 'mean_word_length': 2.8627450980392157, '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': '1759460', 'n_tokens_mistral': 162, 'n_tokens_neox': 155, 'n_words': 48}