Sha256: e1b09540be4aa046d2f72f4d1129bba75c41e73b1b14b3b6f4656a3705ee4a1b
Contents?: true
Size: 711 Bytes
Versions: 7
Compression:
Stored size: 711 Bytes
Contents
require File.dirname(__FILE__) + '/bin_spec_helper' require "poolparty" class PuppetResolverSpec plugin :apache do end end describe "Server list active binary" do describe "with real cloud" do before(:each) do Kernel::HaproxyClass.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.remote_base.nil?.should == false end end end
Version data entries
7 entries across 7 versions & 3 rubygems