Sha256: 52fb391f9bcd7402f25d0dda473cdf4b296d8e1fde9121190ec253fc94800aab
Contents?: true
Size: 408 Bytes
Versions: 4
Compression:
Stored size: 408 Bytes
Contents
require 'spec_helper' include Serverspec::Helper::Plamo 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/plamo/lxc_spec.rb |
serverspec-0.11.4 | spec/plamo/lxc_spec.rb |
serverspec-0.11.3 | spec/plamo/lxc_spec.rb |
serverspec-0.11.2 | spec/plamo/lxc_spec.rb |