22 lines
544 B
Ruby
22 lines
544 B
Ruby
|
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", "box", 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
|