<commit_before>require 'rspec'
require 'devinstall'

describe 'Packages' do
  before(:all) do
    Devinstall::Settings.instance.load! './spec/assets/example_01.yml' ## use defaults for type and env
  end

  it 'should include the correct file' do
    pk=Devinstall::Package.new(@package, @type, @env)
    expect(pk.singleton_class.include?(Pkg::Deb)).to be_true
  end

  describe 'pkg_deb' do
    it 'should pretend to build a package' do
      $dry=true
      pk  =Devinstall::Package.new(@package, @type, @env)
      out = capture_output { pk.build(@package, @type, @env) }
      expect(out).to match /^Building/
    end

    it 'should pretend to upload a package' do
      $dry=true
      pk  =Devinstall::Package.new(@package, @type, @env)
      out = capture_output { pk.upload(@package, @type, @env) }
      expect(out).to match /^Upload/
    end

    it 'should pretend to test a package' do
      $dry=true
      pk  =Devinstall::Package.new(@package, @type, @env)
      out = capture_output { pk.run_tests(@package, @type, @env) }
      expect(out).to match /^Running/
    end

    it 'should pretend to install a package' do
      $dry=true
      pk  =Devinstall::Package.new(@package, @type, @env)
      out = capture_output { pk.install(@package, @type, @env) }
      expect(out).to match /^Installing/
    end

  end
end<commit_msg>fix a typo<commit_after>require 'rspec'
require 'devinstall'

describe 'Packages' do
  before(:all) do
    Devinstall::Settings.instance.load! './spec/assets/example_01.yml' ## use defaults for type and env
  end

  it 'should include the correct file' do
    pk=Devinstall::Package.new(@package, @type, @env)
    expect(pk.singleton_class.include?(Pkg::Deb)).to be_true
  end

  describe 'pkg_deb' do
    it 'should pretend to build a package' do
      $dry=true
      pk  =Devinstall::Package.new(@package, @type, @env)
      out = capture_output { pk.build(@package, @type, @env) }
      expect(out).to match /^Building/
    end

    it 'should pretend to upload a package' do
      $dry=true
      pk  =Devinstall::Package.new(@package, @type, @env)
      out = capture_output { pk.upload(@package, @type, @env) }
      expect(out).to match /^Upload/
    end

    it 'should pretend to test a package' do
      $dry=true
      pk  =Devinstall::Package.new(@package, @type, @env)
      out = capture_output { pk.run_tests(@package, @type, @env) }
      expect(out).to match /^Running/
    end

    it 'should pretend to install a package' do
      $dry=true
      pk  =Devinstall::Package.new(@package, @type, @env)
      out = capture_output { pk.install(@package, @type, @env) }
      expect(out).to match /^Installing/
    end
  end
		
end

{'fraction_non_alphanumeric': 0.13298662704309064, 'fraction_numerical': 0.0014858841010401188, 'mean_word_length': 3.0435435435435436, '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': '3598374', 'n_tokens_mistral': 925, 'n_tokens_neox': 883, 'n_words': 249}