spec/network_spec.rb in testlab-0.7.6 vs spec/network_spec.rb in testlab-0.8.0

- old
+ new

@@ -142,18 +142,22 @@ end end describe "#setup" do it "should create and online the network" do + subject.node.stub(:state) { :running } + subject.stub(:state) { :running } subject.stub(:create) { true } subject.stub(:up) { true } subject.setup end end describe "#teardown" do it "should create and online the network" do + subject.node.stub(:state) { :running } + subject.stub(:state) { :running } subject.stub(:down) { true } subject.stub(:destroy) { true } subject.teardown end