spec/container_spec.rb in testlab-0.6.4 vs spec/container_spec.rb in testlab-0.6.5

- old
+ new

@@ -146,9 +146,10 @@ describe "#create" do it "should create the container" do subject.lxc.config.stub(:save) { true } subject.stub(:detect_arch) { "amd64" } subject.lxc.stub(:create) { true } + subject.lxc.stub(:state) { :not_created } subject.node.ssh.stub(:exec) subject.create end end