Skip to content

Commit 8b0681f

Browse files
committed
Swap out our aruba extension for the modern command
1 parent f2abd4b commit 8b0681f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

features/support/env.rb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@
22
require 'fileutils'
33

44
module ArubaExt
5-
def run_command(cmd, timeout = nil)
5+
def run_command_and_stop(cmd, opts = {})
66
exec_cmd = cmd =~ /^rspec/ ? "bin/#{cmd}" : cmd
7+
78
unset_bundler_env_vars
89
# Ensure the correct Gemfile and binstubs are found
910
in_current_directory do
1011
with_unbundled_env do
11-
super(exec_cmd, timeout)
12+
super(exec_cmd, opts)
1213
end
1314
end
1415
end

0 commit comments

Comments
 (0)