spec/network_spec.rb in testlab-1.4.4 vs spec/network_spec.rb in testlab-1.5.0
- old
+ new
@@ -100,9 +100,10 @@
end
end
describe "#state" do
it "should return the state of the bridge" do
+ subject.node.stub(:dead?) { false }
subject.node.ssh.stub(:exec) { OpenStruct.new(:output => " UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1") }
subject.state.should == :running
end
end