Sha256: 0811ae73d618b718bbfa1f6ac851204cb12e45e0a15997be607828020dedf581

Contents?: true

Size: 605 Bytes

Versions: 18

Compression:

Stored size: 605 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
require CLUSTER_CHEF_DIR("lib/cluster_chef")

describe ClusterChef::ServerSlice do
  before do
    @slice = ClusterChef.slice('webserver_demo')
  end

  describe 'attributes' do
    it 'security groups' do
      @slice.security_groups.keys.sort.should == [
        "default",
        "webserver_demo", "webserver_demo-awesome_website", "webserver_demo-dbnode", "webserver_demo-esnode",
        "webserver_demo-redis_client", "webserver_demo-redis_server",
        "webserver_demo-webnode", "nfs_client", "ssh"
      ]
    end
  end
end

Version data entries

18 entries across 18 versions & 2 rubygems

Version Path
cluster_chef-3.0.14 spec/cluster_chef/server_slice_spec.rb
cluster_chef-knife-3.0.14 spec/cluster_chef/server_slice_spec.rb
cluster_chef-3.0.12 spec/cluster_chef/server_slice_spec.rb
cluster_chef-knife-3.0.12 spec/cluster_chef/server_slice_spec.rb
cluster_chef-3.0.11 spec/cluster_chef/server_slice_spec.rb
cluster_chef-knife-3.0.11 spec/cluster_chef/server_slice_spec.rb
cluster_chef-3.0.10 spec/cluster_chef/server_slice_spec.rb
cluster_chef-knife-3.0.10 spec/cluster_chef/server_slice_spec.rb
cluster_chef-3.0.9 spec/cluster_chef/server_slice_spec.rb
cluster_chef-knife-3.0.9 spec/cluster_chef/server_slice_spec.rb
cluster_chef-3.0.8 spec/cluster_chef/server_slice_spec.rb
cluster_chef-knife-3.0.8 spec/cluster_chef/server_slice_spec.rb
cluster_chef-3.0.7 spec/cluster_chef/server_slice_spec.rb
cluster_chef-3.0.6 spec/cluster_chef/server_slice_spec.rb
cluster_chef-knife-3.0.7 spec/cluster_chef/server_slice_spec.rb
cluster_chef-knife-3.0.6 spec/cluster_chef/server_slice_spec.rb
cluster_chef-3.0.5 spec/cluster_chef/server_slice_spec.rb
cluster_chef-knife-3.0.5 spec/cluster_chef/server_slice_spec.rb