Sha256: 0c87f04dd7896d4bff637b79d5f1b1230a9d19de94634c1275bde6aa200c9c04
Contents?: true
Size: 716 Bytes
Versions: 4
Compression:
Stored size: 716 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][:remoter_base].should_not be_nil end end end
Version data entries
4 entries across 4 versions & 1 rubygems