Sha256: e02f8a56d432d13493a019aaaafff069eb55fe2f8cdb20df235ad6aebf2231d4
Contents?: true
Size: 788 Bytes
Versions: 21
Compression:
Stored size: 788 Bytes
Contents
require "vagrant-spec" describe "vagrant orchestrate provision", component: "orchestrate/provision" do include_context "acceptance" # This unique string gets echo'd as part of the provisioning process, so we # can check the output for this string. See ../support-skeletons/provision/Vagrantfile # for more info. PROVISION_STRING = "6etrabEmU8ru8hapheph" before do environment.skeleton("provision") end it "Runs the shell provisioner" do result = execute("vagrant", "orchestrate", "push", "managed-1") expect(result.stdout).to include(PROVISION_STRING) end it "Doesn't run with --no-provision" do result = execute("vagrant", "orchestrate", "push", "managed-1", "--no-provision") expect(result.stdout).not_to include(PROVISION_STRING) end end
Version data entries
21 entries across 21 versions & 1 rubygems
Version | Path |
---|---|
vagrant-orchestrate-0.5.2 | acceptance/command/provision_spec.rb |