lib/testlab.rb in testlab-0.5.2 vs lib/testlab.rb in testlab-0.5.3
- old
+ new
@@ -167,12 +167,10 @@
# Attempts to setup our lab topology. This calls the setup method on all of
# our nodes.
#
# @return [Boolean] True if successful.
def setup
- self.dead? and raise TestLabError, "You must have a running node in order to setup your infrastructure!"
-
node_method_proxy(:setup)
true
end
@@ -181,11 +179,9 @@
# Attempts to tearddown our lab topology. This calls the teardown method on
# all of our nodes.
#
# @return [Boolean] True if successful.
def teardown
- self.dead? and raise TestLabError, "You must have a running node in order to teardown your infrastructure!"
-
node_method_proxy(:teardown)
true
end