<commit_before>require 'spec_helper'

describe TmuxStatus::Segments::Transfer do
  let(:ifconfig) { stub(downloaded: 23, uploaded: 5) }
  before do
    subject.stubs(ifconfig: ifconfig)
  end

  it { should be_a TmuxStatus::Segment }

  describe '#output' do
    it { should eq("#{subject.modes}#{ifconfig.downloaded}/#{ifconfig.uploaded}")}
  end
end<commit_msg>fix transfer_spec<commit_after>require 'spec_helper'

describe TmuxStatus::Segments::Transfer do
  let(:ifconfig) { stub(downloaded: 23, uploaded: 5) }
  before do
    subject.stubs(ifconfig: ifconfig)
  end

  it { should be_a TmuxStatus::Segment }

  describe '#output' do
    it do
      expected_output = "#{subject.modes}#{ifconfig.downloaded}/#{ifconfig.uploaded}"
      expect(subject.output).to eq(expected_output)
    end
  end
end
{'fraction_non_alphanumeric': 0.12577833125778332, 'fraction_numerical': 0.007471980074719801, 'mean_word_length': 4.661971830985915, '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': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2482506', 'n_tokens_mistral': 279, 'n_tokens_neox': 267, 'n_words': 58}