spec/action/install_command_spec.rb in vagrant-notify-0.5.6 vs spec/action/install_command_spec.rb in vagrant-notify-0.6.0
- old
+ new
@@ -44,8 +44,8 @@
it 'installs command for all users' do
communicator.should have_received(:sudo).with("mv #{guest_tmp_path} #{guest_path} && chmod +x #{guest_path}")
end
it 'verify if ruby is installed on guest' do
- communicator.should have_received(:sudo).with("which ruby || true")
+ communicator.should have_received(:sudo).with("which ruby 2>/dev/null || true")
end
end