Fix TestUI to work with Vagrant 1.2+

This commit is contained in:
Fabio Rehm 2013-05-08 19:49:12 -03:00
parent 5aa5803a4c
commit b086c4a38b

View file

@ -3,7 +3,7 @@ class TestUI < Vagrant::UI::Interface
METHODS = [:clear_line, :report_progress, :warn, :error, :info, :success]
def initialize(resource = nil)
def initialize
super
@messages = METHODS.each_with_object({}) { |m, h| h[m] = [] }
end