Sha256: f32e64be9703e64d1f5c537d4df05bb34afacb3ad2b72baabd77c37d06a063b2

Contents?: true

Size: 540 Bytes

Versions: 3

Compression:

Stored size: 540 Bytes

Contents

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

class RemoterBaseTest < Test::Unit::TestCase
  context "Available Bases" do
    
    should "have global remote_bases" do
      assert !PoolParty::Remote.available.empty?
      assert PoolParty::Remote.available.size >1
      assert PoolParty::Remote.available.include?(PoolParty::Remote::Ec2)
    end
    
    should "should return an array of top_level RemoterBase class symbols " do
      assert ::PoolParty::Remote::RemoterBase.available_bases.include?(:ec2)
    end
  end
  
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
auser-poolparty-1.2.11 test/poolparty/net/remoter_base_test.rb
auser-poolparty-1.2.12 test/poolparty/net/remoter_base_test.rb
fairchild-poolparty-1.2.12 test/poolparty/net/remoter_base_test.rb