Sha256: 52a03b61f6c32aca8285f0aba0b37606dd42c7d8d7d0462f0cef8bf31e9f30f0
Contents?: true
Size: 418 Bytes
Versions: 5
Compression:
Stored size: 418 Bytes
Contents
require 'spec_helper' include SpecInfra::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 -s | grep -w RUNNING"} end describe lxc('invalid-ct') do it { should_not be_running } end
Version data entries
5 entries across 5 versions & 1 rubygems