Check for default on_error behavior setting
This commit is contained in:
parent
abb6d77442
commit
7b1b044e72
|
@ -42,8 +42,14 @@ describe VagrantPlugins::Kernel_V2::VagrantConfigTrigger do
|
||||||
end
|
end
|
||||||
|
|
||||||
it "sets a command" do
|
it "sets a command" do
|
||||||
|
subject.finalize!
|
||||||
expect(subject.command).to eq(command)
|
expect(subject.command).to eq(command)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
it "uses default error behavior" do
|
||||||
|
subject.finalize!
|
||||||
|
expect(subject.on_error).to eq(:halt)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
describe "defining a new config that needs to match internal restraints" do
|
describe "defining a new config that needs to match internal restraints" do
|
||||||
|
|
Loading…
Reference in New Issue