Sha256: dfb6b37ee7aaec094317e11cfe3b895124a1a05d5268ce8d419b6912b431db28

Contents?: true

Size: 311 Bytes

Versions: 101

Compression:

Stored size: 311 Bytes

Contents

require "test_helper"

class ConfigSSHTest < Test::Unit::TestCase
  setup do
    @env = vagrant_env
  end

  should "expand any path when requesting the value" do
    result = File.expand_path(@env.config.ssh.private_key_path, @env.root_path)
    assert_equal result, @env.config.ssh.private_key_path
  end
end

Version data entries

101 entries across 101 versions & 9 rubygems

Version Path
vagrantup-0.7.1 test/vagrant/config/ssh_test.rb
vagrantup-0.7.0 test/vagrant/config/ssh_test.rb
vagrantup-0.6.9 test/vagrant/config/ssh_test.rb
vagrantup-0.6.8 test/vagrant/config/ssh_test.rb
vagrantup-0.6.7 test/vagrant/config/ssh_test.rb
vagrantup-0.6.6 test/vagrant/config/ssh_test.rb
vagrantup-0.6.5 test/vagrant/config/ssh_test.rb
vagrantup-0.6.4 test/vagrant/config/ssh_test.rb
vagrantup-0.6.3 test/vagrant/config/ssh_test.rb
vagrantup-0.6.2 test/vagrant/config/ssh_test.rb
vagrantup-0.6.1 test/vagrant/config/ssh_test.rb
vagrantup-0.6.0 test/vagrant/config/ssh_test.rb
vagrant-fixed-ssh-1.0.7 test/unit_legacy/vagrant/config/ssh_test.rb
vagrant-1.0.7 test/unit_legacy/vagrant/config/ssh_test.rb
vagrant-1.0.6 test/unit_legacy/vagrant/config/ssh_test.rb
boxcar-0.10005.1 test/unit_legacy/vagrant/config/ssh_test.rb
fragrant-0.0.5 vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/config/ssh_test.rb
vagrant-1.0.5 test/unit_legacy/vagrant/config/ssh_test.rb
vagrant-1.0.4 test/unit_legacy/vagrant/config/ssh_test.rb
vagrant-1.0.3 test/unit_legacy/vagrant/config/ssh_test.rb