Sha256: fcc2eb09d5df8fc7defd3dd9ecabe4dfaebed68f36d56df49bd14cbeceb822a5

Contents?: true

Size: 431 Bytes

Versions: 5

Compression:

Stored size: 431 Bytes

Contents

require 'spec_helper'

set :os, :family => 'linux'

describe commands.command_class('lxc_container').create do
  it { should be_an_instance_of(Specinfra::Command::Linux::Base::LxcContainer) }
end

describe lxc('ct01') do
  it { should exist }
end

describe lxc('invalid-ct') do
  it { should_not exist }
end

describe lxc('ct01') do
  it { should be_running }
end

describe lxc('invalid-ct') do
  it { should_not be_running }
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
serverspec-2.0.0.beta13 spec/type/linux/lxc_container_spec.rb
serverspec-2.0.0.beta12 spec/type/linux/lxc_container_spec.rb
serverspec-2.0.0.beta11 spec/type/linux/lxc_container_spec.rb
serverspec-2.0.0.beta10 spec/type/linux/lxc_container_spec.rb
serverspec-2.0.0.beta9 spec/type/linux/lxc_container_spec.rb