vagrant/test/acceptance/provider-virtualbox/network_intnet_spec.rb

22 lines
537 B
Ruby
Raw Normal View History

shared_examples "provider/network/intnet" do |provider, options|
if !options[:box]
raise ArgumentError,
"box option must be specified for provider: #{provider}"
end
include_context "acceptance"
before do
environment.skeleton("network_intnet")
assert_execute("vagrant", "box", "add", options[:box])
assert_execute("vagrant", "up", "--provider=#{provider}")
end
after do
assert_execute("vagrant", "destroy", "--force", log: false)
end
it "properly configures an internal network" do
end
end