lib/testlab/providers/vagrant.rb in testlab-0.1.0 vs lib/testlab/providers/vagrant.rb in testlab-0.2.0
- old
+ new
@@ -31,10 +31,10 @@
MSG_NO_LAB = %(We could not find a test lab!)
################################################################################
def initialize(config={}, ui=nil)
- @config = config
+ @config = (config || Hash.new)
@ui = (ui || TestLab.ui)
# ensure our vagrant key is there
@config[:vagrant] ||= Hash.new