Sha256: eafe8fc9c72f88b681c0e0cc46b6d169685eea5eff2974223ff6a7b08d99ca42
Contents?: true
Size: 409 Bytes
Versions: 4
Compression:
Stored size: 409 Bytes
Contents
require 'spec_helper' include Serverspec::Helper::Debian describe lxc('ct01') do it { should exist } its(:command) { should eq "lxc-ls -1 | grep -w ct01" } end describe lxc('invalid-ct') do it { should_not exist } end describe lxc('ct01') do it { should be_running } its(:command) { should eq "lxc-info -n ct01 -t RUNNING"} end describe lxc('invalid-ct') do it { should_not be_running } end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
serverspec-0.11.5 | spec/debian/lxc_spec.rb |
serverspec-0.11.4 | spec/debian/lxc_spec.rb |
serverspec-0.11.3 | spec/debian/lxc_spec.rb |
serverspec-0.11.2 | spec/debian/lxc_spec.rb |