Sha256: 6a358d28b002f1030a548a98bd59bb5d12cd62907cc72ae764232eb34f773fb1
Contents?: true
Size: 308 Bytes
Versions: 1
Compression:
Stored size: 308 Bytes
Contents
shared_context "command plugin helpers" do def command_lambda(name, result, **opts) lambda do Class.new(Vagrant.plugin("2", "command")) do define_method(:execute) do raise opts[:exception] if opts[:exception] result end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vagrant-cloudstack-1.2.0 | vendor/bundle/bundler/gems/vagrant-c84e05fd063f/test/unit/support/shared/plugin_command_context.rb |