From f62f4824b8f92e837989bfad702ac8222945f187 Mon Sep 17 00:00:00 2001 From: murphy Date: Fri, 8 Jul 2011 09:23:09 +0000 Subject: fixing tests for jruby --- test/executable/suite.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/test/executable/suite.rb b/test/executable/suite.rb index 37acab9..db96f77 100644 --- a/test/executable/suite.rb +++ b/test/executable/suite.rb @@ -11,6 +11,7 @@ puts "Running CodeRay #{CodeRay::VERSION} executable tests..." class TestCodeRayExecutable < Test::Unit::TestCase ruby = `ps -c #$$`[/\w+\Z/] + ruby = 'ruby' if ruby == 'java' ROOT_DIR = Pathname.new(File.dirname(__FILE__)) + '..' + '..' EXECUTABLE = ROOT_DIR + 'bin' + 'coderay' -- cgit v1.2.1