Add some "default" options to be validated

This commit is contained in:
Brian Cain 2018-03-20 11:14:19 -07:00
parent fc526a164a
commit 7dae1acd21
No known key found for this signature in database
GPG Key ID: 43D51080D357A001
1 changed files with 6 additions and 0 deletions

View File

@ -33,6 +33,12 @@ describe VagrantPlugins::Kernel_V2::VagrantConfigTrigger do
allow(machine).to receive(:provider_options).and_return({})
subject.name = "foo"
subject.info = "Hello there"
subject.warn = "Warning!!"
subject.ignore = :up
subject.only_on = "guest"
subject.run = {inline: "apt-get update"}
subject.run_remote = {inline: "apt-get update", env: {"VAR"=>"VAL"}}
end
describe "with defaults" do