spec/gentoo/lxc_spec.rb in serverspec-1.11.0 vs spec/gentoo/lxc_spec.rb in serverspec-1.12.0
- old
+ new
@@ -11,10 +11,10 @@
it { should_not exist }
end
describe lxc('ct01') do
it { should be_running }
- its(:command) { should eq "lxc-info -n ct01 -t 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