Sha256: a045cf8d4daca7346baac691de918fecaca9c74c38d9a811886dacbee3bc0311
Contents?: true
Size: 417 Bytes
Versions: 5
Compression:
Stored size: 417 Bytes
Contents
require 'spec_helper' include SpecInfra::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 -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