Sha256: 1be1e4adc2aa4fbe3fc330ff3326ab2ee8bbddb3e3e79c4e986068d3de2fc4a0
Contents?: true
Size: 698 Bytes
Versions: 5
Compression:
Stored size: 698 Bytes
Contents
require File.dirname(__FILE__) + '/bin_spec_helper' require "poolparty" class PuppetResolverSpec end describe "Server list active binary" do describe "with real cloud" do before(:each) do ::PoolParty::Plugin::Haproxy.stub!(:new).and_return nil $pool_specfile = __FILE__ @p = PoolParty::Pool::Pool.load_from_file "#{::File.dirname(__FILE__)}/fixtures/bin_cloud_for_test.rb" @pool_hash = @p.to_properties_hash end it "should have the name on the schema" do @pool_hash[:options][:name].should == :binary_testing_cloud end it "should have the remoter base available" do @pool_hash[:options][:remoter_base].should_not be_nil end end end
Version data entries
5 entries across 5 versions & 2 rubygems