class Ruby::RakeTest
Public Class Methods
description()
click to toggle source
# File lib/scripts/ruby/rake_test.rb, line 4 def description <<-MARKDOWN Runs ruby tests by executing the `rake test` command. Uses bundler if bundler is installed. MARKDOWN end
Public Instance Methods
run()
click to toggle source
# File lib/scripts/ruby/rake_test.rb, line 11 def run if test_command?("bundler", "exec", "rake", "-V") return command("bundler", "exec", "rake", "test") end unless installed?("rake") command("gem", "install", "rake") end command("rake", "test") end