features/vagrant-exec/prepend.feature in vagrant-exec-0.4.1 vs features/vagrant-exec/prepend.feature in vagrant-exec-0.5.0

- old
+ new

@@ -3,11 +3,11 @@ In order to automatically prepend with custom command Commands I execute using vagrant-exec As a user I should be able to specify it in Vagrantfile - Scenario: can prepend all commands + Scenario: prepends all commands Given I write to "Vagrantfile" with: """ Vagrant.configure('2') do |config| config.vm.box = 'vagrant_exec' config.exec.commands '*', prepend: 'echo vagrant-exec &&' @@ -16,11 +16,11 @@ And I run `bundle exec vagrant up` When I run `bundle exec vagrant exec pwd` Then the exit status should be 0 And SHH subprocess should execute command "cd /vagrant && echo vagrant-exec && pwd" - Scenario: can prepend specific commands + Scenario: prepends specific commands Given I write to "Vagrantfile" with: """ Vagrant.configure('2') do |config| config.vm.box = 'vagrant_exec' config.exec.commands 'cmd', prepend: 'echo vagrant-exec1 &&' @@ -35,10 +35,10 @@ When I run `bundle exec vagrant exec echo 1` Then SHH subprocess should execute command "cd /vagrant && echo vagrant-exec2 && echo 1" When I run `bundle exec vagrant exec env` Then SHH subprocess should execute command "cd /vagrant && env" - Scenario: can combine prepended + Scenario: combines prepended Given I write to "Vagrantfile" with: """ Vagrant.configure('2') do |config| config.vm.box = 'vagrant_exec' config.exec.commands '*', prepend: 'echo vagrant-exec1 &&'