Sha256: b1b9b33906aab36a1d6826cd80f0ebbb525503a3bb1ba64648b9c58ec7dece10

Contents?: true

Size: 640 Bytes

Versions: 28

Compression:

Stored size: 640 Bytes

Contents

require "#{File.dirname(__FILE__)}/../../test_helper"

class DefaultTest < Test::Unit::TestCase
  include PoolParty
  
  context "Default" do
    should "have default users (in the default_options)" do
      assert_equal Default.user, "root"
      assert_equal Default.poolparty_home_path, "#{ENV["HOME"]}" / ".poolparty"
      assert_equal Default.ec2_home, "#{ENV["HOME"]}" / ".ec2"
      assert_equal Default.poolparty_src_path, File.expand_path("#{File.dirname(__FILE__)}/../../../")
      assert_equal Default.base_config_directory, "/etc/poolparty"
      assert_equal Default.remote_storage_path, "/var/poolparty"
    end
  end
  
end

Version data entries

28 entries across 28 versions & 3 rubygems

Version Path
auser-poolparty-1.3.0 test/lib/poolparty/default_test.rb
auser-poolparty-1.3.1 test/lib/poolparty/default_test.rb
auser-poolparty-1.3.10 test/lib/poolparty/default_test.rb
auser-poolparty-1.3.11 test/lib/poolparty/default_test.rb
auser-poolparty-1.3.12 test/lib/poolparty/default_test.rb
auser-poolparty-1.3.13 test/lib/poolparty/default_test.rb
auser-poolparty-1.3.14 test/lib/poolparty/default_test.rb
auser-poolparty-1.3.15 test/lib/poolparty/default_test.rb
auser-poolparty-1.3.16 test/lib/poolparty/default_test.rb
auser-poolparty-1.3.17 test/lib/poolparty/default_test.rb
auser-poolparty-1.3.2 test/lib/poolparty/default_test.rb
auser-poolparty-1.3.3 test/lib/poolparty/default_test.rb
auser-poolparty-1.3.4 test/lib/poolparty/default_test.rb
auser-poolparty-1.3.5 test/lib/poolparty/default_test.rb
auser-poolparty-1.3.6 test/lib/poolparty/default_test.rb
auser-poolparty-1.3.7 test/lib/poolparty/default_test.rb
auser-poolparty-1.3.8 test/lib/poolparty/default_test.rb
fairchild-poolparty-1.3.17 test/lib/poolparty/default_test.rb
fairchild-poolparty-1.3.5 test/lib/poolparty/default_test.rb
poolparty-1.3.15 test/lib/poolparty/default_test.rb