core: Fix some tests, revert a change
This commit is contained in:
parent
76e29b912f
commit
52bb68ba73
|
@ -185,7 +185,8 @@ module Vagrant
|
||||||
# Registers additional providers to be available.
|
# Registers additional providers to be available.
|
||||||
#
|
#
|
||||||
# @param [Symbol] name Name of the provider.
|
# @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
|
options[:priority] ||= 5
|
||||||
|
|
||||||
components.providers.register(name.to_sym) do
|
components.providers.register(name.to_sym) do
|
||||||
|
|
Loading…
Reference in New Issue