Check for default on_error behavior setting

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

View File

@ -42,8 +42,14 @@ describe VagrantPlugins::Kernel_V2::VagrantConfigTrigger do
end
it "sets a command" do
subject.finalize!
expect(subject.command).to eq(command)
end
it "uses default error behavior" do
subject.finalize!
expect(subject.on_error).to eq(:halt)
end
end
describe "defining a new config that needs to match internal restraints" do