spec/mock/ssh_mock.rb in aptible-cli-0.8.1 vs spec/mock/ssh_mock.rb in aptible-cli-0.8.2
- old
+ new
@@ -1,8 +1,8 @@
#!/usr/bin/env ruby
require 'json'
-fail 'Something went wrong!' if ENV['FAIL_TUNNEL']
+raise 'Something went wrong!' if ENV['FAIL_TUNNEL']
# Log arguments to SSH_MOCK_OUTFILE
File.open(ENV.fetch('SSH_MOCK_OUTFILE'), 'w') do |f|
f.write({
'argc' => ARGV.size,