Sha256: d424289df513b0f42be42d805a8890be19f0364a22916ed457ed2a40421eb664
Contents?: true
Size: 644 Bytes
Versions: 7
Compression:
Stored size: 644 Bytes
Contents
require "#{File.dirname(__FILE__)}/../../test_helper" class BootstrapperTest < Test::Unit::TestCase context "bootstrap_script" do should "get the script for ubuntu" do bootstrap_dir = File.dirname(__FILE__)/"../../../lib/provision/bootstrap_scripts" ubuntu_script = File.expand_path(bootstrap_dir/"build_ubuntu.sh") assert_equal ubuntu_script, Provision::Bootstrapper.bootstrap_script(:os=>:ubuntu) end should "raise an exception if the os isn't supported yet" do assert_raises StandardError do Provision::Bootstrapper.bootstrap_script(:os=>:non_existant_os) end end end end
Version data entries
7 entries across 7 versions & 3 rubygems