Sha256: b2d0653c876b1a9da2744f7896630955230412664fef90c3f974fdeab4b81e9e

Contents?: true

Size: 750 Bytes

Versions: 45

Compression:

Stored size: 750 Bytes

Contents

# Add this folder to the load path for "test_helper"
$:.unshift(File.dirname(__FILE__))

require 'vagrant'
require 'contest'
require 'mocha'

# Try to load ruby debug since its useful if it is available.
# But not a big deal if its not available (probably on a non-MRI
# platform)
begin
  require 'ruby-debug'
rescue LoadError
end

# Do not buffer output for tests
$stdout.sync = true
$stderr.sync = true

# Set the home directory to some temporary directory
ENV["HOME"] = Vagrant.source_root.join("test", "tmp", "home").to_s

# Set the log output to nothing
ENV["VAGRANT_LOG"] = "NULL"

# Add the I18n locale for tests
I18n.load_path << File.expand_path("../locales/en.yml", __FILE__)

class Test::Unit::TestCase
  include Vagrant::TestHelpers
end

Version data entries

45 entries across 45 versions & 6 rubygems

Version Path
bmhatfield-vagrant-1.0.10 test/unit_legacy/test_helper.rb
bmhatfield-vagrant-1.0.9 test/unit_legacy/test_helper.rb
bmhatfield-vagrant-1.0.8 test/unit_legacy/test_helper.rb
bmhatfield-vagrant-1.0.7 test/unit_legacy/test_helper.rb
vagrantup-1.0.7 test/unit_legacy/test_helper.rb
vagrantup-1.0.6 test/unit_legacy/test_helper.rb
vagrantup-1.0.5 test/unit_legacy/test_helper.rb
vagrantup-1.0.4 test/unit_legacy/test_helper.rb
vagrantup-1.0.3 test/unit_legacy/test_helper.rb
vagrantup-1.0.2 test/unit_legacy/test_helper.rb
vagrantup-1.0.1 test/unit_legacy/test_helper.rb
vagrantup-1.0.0 test/unit_legacy/test_helper.rb
vagrantup-0.9.99.2 test/unit_legacy/test_helper.rb
vagrantup-0.9.99.1 test/unit_legacy/test_helper.rb
vagrantup-0.9.7 test/unit_legacy/test_helper.rb
vagrantup-0.9.6 test/unit_legacy/test_helper.rb
vagrantup-0.9.5 test/unit_legacy/test_helper.rb
vagrantup-0.9.4 test/unit_legacy/test_helper.rb
vagrantup-0.9.3 test/unit_legacy/test_helper.rb
vagrantup-0.9.2 test/unit_legacy/test_helper.rb