Sha256: 8fe09a76f7dd74592b6a1b24c884b011540d4a8c0de6c30c980b7f5414d90128
Contents?: true
Size: 419 Bytes
Versions: 6
Compression:
Stored size: 419 Bytes
Contents
require 'spec_helper' RSpec.configure do |c| c.os = 'Debian' end 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
6 entries across 6 versions & 1 rubygems