summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSHIBATA Hiroshi <hsbt@ruby-lang.org>2018-10-16 13:52:24 +0900
committerSHIBATA Hiroshi <hsbt@ruby-lang.org>2018-10-16 13:52:24 +0900
commitb061f1b424f29f95d21c9c6ad1d3aa66134d9305 (patch)
tree8fa908d8da565f5fe9505c3ccb7b73a12abc198f
parent70d6eba05b7e788adf601e8eadeeb247c488ad0e (diff)
downloadbundler-b061f1b424f29f95d21c9c6ad1d3aa66134d9305.tar.gz
Added missing helper method for rake
-rw-r--r--spec/support/helpers.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/support/helpers.rb b/spec/support/helpers.rb
index d64b3923d5..5af7b0d952 100644
--- a/spec/support/helpers.rb
+++ b/spec/support/helpers.rb
@@ -214,6 +214,10 @@ module Spec
end
bang :gem_command
+ def rake
+ "#{Gem.ruby} -S rake"
+ end
+
def sys_exec(cmd)
command_execution = CommandExecution.new(cmd.to_s, Dir.pwd)