Sha256: 1f15ed2559c7df2ee9b9e8ad0ece7718079dba00f0b3036f87ed6c7e24dfe1f6

Contents?: true

Size: 548 Bytes

Versions: 1

Compression:

Stored size: 548 Bytes

Contents

require File.expand_path("../../../../base", __FILE__)

require Vagrant.source_root.join("plugins/kernel_v2/config/ssh")

describe VagrantPlugins::Kernel_V2::SSHConfig do
  subject { described_class.new }

  describe "#default" do
    it "defaults to vagrant username" do
      subject.finalize!
      expect(subject.default.username).to eq("vagrant")
    end
  end

  describe "#sudo_command" do
    it "defaults properly" do
      subject.finalize!
      expect(subject.sudo_command).to eq("sudo -E -H %c")
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vagrant-cloudstack-1.2.0 vendor/bundle/bundler/gems/vagrant-c84e05fd063f/test/unit/plugins/kernel_v2/config/ssh_test.rb