Sha256: 72f25959ed39990d92aa34320b3b44fb7e15204dbc0c52e3825d0111b4a08808
Contents?: true
Size: 904 Bytes
Versions: 9
Compression:
Stored size: 904 Bytes
Contents
require File.dirname(__FILE__) + '/../spec_helper' describe "Hugo DSL" do before(:each) do mocks end it "should be valid" do block = lambda {|a,b|} lambda do Hugo &block end.should be_true end it "should be_true with cloud block" do block = lambda do cloud "my_cloud" do end end lambda do Hugo &block end.should be_true end it "should deploy infrastructure" do block = lambda do cloud "gmms" do balancer database "sentinel" do server "jackhq" user "admin" password "mypassword" end app "sentinel" do gem_list = [{:name => "rack"}] end end end lambda do Hugo &block end.should_not raise_error end end
Version data entries
9 entries across 9 versions & 1 rubygems