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