summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authormurphy <murphy@rubychan.de>2011-07-08 09:25:18 +0000
committermurphy <murphy@rubychan.de>2011-07-08 09:25:18 +0000
commitd338e1b2eceb2dc16474f091263ae9f82f1605db (patch)
tree61405e842b06b8a0207d3c6c30b1924b18f1f9ca /test
parentf62f4824b8f92e837989bfad702ac8222945f187 (diff)
downloadcoderay-d338e1b2eceb2dc16474f091263ae9f82f1605db.tar.gz
hardcode ruby command to "ruby" (detection was buggy)
Diffstat (limited to 'test')
-rw-r--r--test/executable/suite.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/executable/suite.rb b/test/executable/suite.rb
index db96f77..ec696ec 100644
--- a/test/executable/suite.rb
+++ b/test/executable/suite.rb
@@ -10,8 +10,7 @@ puts "Running CodeRay #{CodeRay::VERSION} executable tests..."
class TestCodeRayExecutable < Test::Unit::TestCase
- ruby = `ps -c #$$`[/\w+\Z/]
- ruby = 'ruby' if ruby == 'java'
+ ruby = 'ruby'
ROOT_DIR = Pathname.new(File.dirname(__FILE__)) + '..' + '..'
EXECUTABLE = ROOT_DIR + 'bin' + 'coderay'