This works by registering a `config` with `:provider => true` with the same name as your provider. Vagrant will then automatically configure the provider when `config.vm.provider` is used.
10 lines
258 B
Ruby
10 lines
258 B
Ruby
require File.expand_path("../../../../base", __FILE__)
|
|
|
|
describe Vagrant::Plugin::V2::Components do
|
|
let(:instance) { described_class.new }
|
|
|
|
it "should have provider configs" do
|
|
instance.provider_configs.should be_kind_of(Vagrant::Registry)
|
|
end
|
|
end
|