Sha256: 7d75f045b976a96dc6da124505af521b1582fc4f78bed3a8fdff5a2a7c5b3d52

Contents?: true

Size: 979 Bytes

Versions: 5

Compression:

Stored size: 979 Bytes

Contents

require 'logical-construct/target'


module TestAWS
  include LogicalConstruct
  include LogicalConstruct::Platform("AWS")

  describe "VirtualBox platform" do
    before :each do
      provision = Provision.new

      provision.in_namespace do
        resolution = ResolveConfiguration.new(provision)
        chef_config = ChefConfig.new(provision, resolution)
        chef_solo = ChefSolo.new(chef_config)
      end
    end

    it "should not crash" do
      true.should be_true
    end
  end
end

module TestVirtualBox
  include LogicalConstruct
  include LogicalConstruct::Platform("VirtualBox")

  describe "VirtualBox platform" do
    before :each do
      provision = Provision.new

      provision.in_namespace do
        resolution = ResolveConfiguration.new(provision)
        chef_config = ChefConfig.new(provision, resolution)
        chef_solo = ChefSolo.new(chef_config)
      end
    end

    it "should not crash" do
      true.should be_true
    end
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
logical-construct-0.0.5 spec/target/smoke-test.rb
logical-construct-0.0.4 spec/target/smoke-test.rb
logical-construct-0.0.3 spec/target/smoke-test.rb
logical-construct-0.0.2 spec/target/smoke-test.rb
logical-construct-0.0.1 spec/target/smoke-test.rb