<commit_before>require "acceptance_spec_helper"

describe "henson install" do
  let(:project) do
    File.expand_path("../fixtures", __FILE__)
  end

  before(:all) do
    Dir.chdir(project) do
      system "bundle", "exec", File.expand_path("../../bin/henson"), "install"
    end
  end

  after(:all) do
    FileUtils.rm_rf "#{project}/shared"
  end

  it "should have cloud_provisioner module" do
    expect(Pathname.new("#{project}/shared/cloud_provisioner")).to be_directory
  end

  it "should have lvm module" do
    expect(Pathname.new("#{project}/shared/lvm")).to be_directory
  end

  it "should have openstack module" do
    expect(Pathname.new("#{project}/shared/openstack")).to be_directory
  end

  it "should have ssh module" do
    expect(Pathname.new("#{project}/shared/ssh")).to be_directory
  end

  it "should have stdlib module" do
    expect(Pathname.new("#{project}/shared/stdlib")).to be_directory
  end

  it "should have boxen module" do
    expect(Pathname.new("#{project}/shared/boxen")).to be_directory
  end
end<commit_msg>Update henson install spec to check if path sourced modules use symlinks<commit_after>require "acceptance_spec_helper"

describe "henson install" do
  let(:project) do
    File.expand_path("../fixtures", __FILE__)
  end

  before(:all) do
    Dir.chdir(project) do
      system "bundle", "exec", File.expand_path("../../bin/henson"), "install"
    end
  end

  after(:all) do
    FileUtils.rm_rf "#{project}/shared"
  end

  it "should have cloud_provisioner module" do
    expect(Pathname.new("#{project}/shared/cloud_provisioner")).to be_directory
  end

  it "should have lvm module" do
    expect(Pathname.new("#{project}/shared/lvm")).to be_directory
  end

  it "should have openstack module" do
    expect(Pathname.new("#{project}/shared/openstack")).to be_directory
  end

  it "should have ssh module" do
    expect(Pathname.new("#{project}/shared/ssh")).to be_symlink
  end

  it "should have stdlib module" do
    expect(Pathname.new("#{project}/shared/stdlib")).to be_directory
  end

  it "should have boxen module" do
    expect(Pathname.new("#{project}/shared/boxen")).to be_directory
  end
end
{'fraction_non_alphanumeric': 0.13512262841277187, 'fraction_numerical': 0.0, 'mean_word_length': 3.9815668202764978, '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': '3201604', 'n_tokens_mistral': 726, 'n_tokens_neox': 701, 'n_words': 174}