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