2014-01-03 16:29:33 +00:00
|
|
|
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")
|
2017-02-22 14:13:04 +00:00
|
|
|
assert_execute("vagrant", "box", "add", options[:box])
|
2014-01-03 16:29:33 +00:00
|
|
|
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
|