lib/testlab/providers/local.rb in testlab-0.7.5 vs lib/testlab/providers/local.rb in testlab-0.7.6
- old
+ new
@@ -28,24 +28,24 @@
true
end
# This is a NO-OP
def up
- self.state
+ true
end
# This is a NO-OP
def down
- self.state
+ true
end
# This is a NO-OP
def reload
self.down
self.up
- self.state
+ true
end
# This is a NO-OP
def state
:running
@@ -65,10 +65,10 @@
def dead?
false
end
def instance_id
- %x(hostname).strip
+ TestLab.hostname
end
def user
ENV['USER']
end