spec/acceptance/support/test_ui.rb in vagrant-lxc-0.6.4 vs spec/acceptance/support/test_ui.rb in vagrant-lxc-0.7.0
- old
+ new
@@ -13,10 +13,10 @@
# Automated tests should not depend on user input, obviously.
raise Errors::UIExpectsTTY
end
METHODS.each do |method|
- define_method(method) do |message, *opts|
- @messages[method].push message
+ define_method(method) do |*args|#message, *opts|
+ @messages[method].push args[0]
end
end
end