summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorTerence Lee <hone02@gmail.com>2011-10-02 21:23:59 -0500
committerTerence Lee <hone02@gmail.com>2011-10-02 21:23:59 -0500
commite2be1f76afb262d8d90fc2e9c92bbfe6dff75976 (patch)
treedc7824335ca188c4dad570e8d0a0646f6262d58f /spec
parentd9e9323be8f3af856da3bebdcb8a0c1491f9c85e (diff)
downloadbundler-e2be1f76afb262d8d90fc2e9c92bbfe6dff75976.tar.gz
fix build for ruby 1.8.7
Diffstat (limited to 'spec')
-rw-r--r--spec/support/helpers.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/support/helpers.rb b/spec/support/helpers.rb
index c275e6ba8e..33f38fde95 100644
--- a/spec/support/helpers.rb
+++ b/spec/support/helpers.rb
@@ -45,7 +45,8 @@ module Spec
R
opts = args.last.is_a?(Hash) ? args.pop : {}
opts.merge!(:expect_err => true)
- run(cmd, *args, opts)
+ args += [opts]
+ run(cmd, *args)
end
def lib