features/vagrant-exec/directory.feature in vagrant-exec-0.5.0 vs features/vagrant-exec/directory.feature in vagrant-exec-0.5.1
- old
+ new
@@ -33,10 +33,10 @@
Scenario: uses custom directory for specific commands
Given I write to "Vagrantfile" with:
"""
Vagrant.configure('2') do |config|
config.vm.box = 'vagrant_exec'
- config.exec.commands %w(pwd echo), directory: '/tmp'
+ config.exec.commands %w[pwd echo], directory: '/tmp'
end
"""
And I run `bundle exec vagrant up`
When I run `bundle exec vagrant exec echo 1`
Then SHH subprocess should execute command "cd /tmp && echo 1"