core: Fix some tests, revert a change

This commit is contained in:
Mitchell Hashimoto 2014-05-01 10:03:49 -07:00
parent 76e29b912f
commit 52bb68ba73
1 changed files with 2 additions and 1 deletions

View File

@ -185,7 +185,8 @@ module Vagrant
# Registers additional providers to be available.
#
# @param [Symbol] name Name of the provider.
def self.provider(name=UNSET_VALUE, **options, &block)
def self.provider(name=UNSET_VALUE, options=nil, &block)
options ||= {}
options[:priority] ||= 5
components.providers.register(name.to_sym) do