diff options
author | murphy <murphy@rubychan.de> | 2010-03-31 22:17:06 +0000 |
---|---|---|
committer | murphy <murphy@rubychan.de> | 2010-03-31 22:17:06 +0000 |
commit | 862bc9aa6b002f6b29cf74f93ca66e63cf370819 (patch) | |
tree | 45e8a8731fadca8df5fe86595dc2e8f6dc7a3782 /test/functional/suite.rb | |
parent | cce5dad0dce285a2b7c4f1fe0ec79d10c71a8403 (diff) | |
download | coderay-862bc9aa6b002f6b29cf74f93ca66e63cf370819.tar.gz |
Upporting changes from 0.9.2 (vs. 0.9.1).
Diffstat (limited to 'test/functional/suite.rb')
-rwxr-xr-x | test/functional/suite.rb | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/test/functional/suite.rb b/test/functional/suite.rb index ae9c7f0..039ab47 100755 --- a/test/functional/suite.rb +++ b/test/functional/suite.rb @@ -1,10 +1,12 @@ require 'test/unit' -require 'pathname' MYDIR = File.dirname(__FILE__) -LIBDIR = Pathname.new(MYDIR).join('..', '..', 'lib').cleanpath.to_s -$LOAD_PATH.unshift MYDIR, LIBDIR -require 'basic' -require 'load_plugin_scanner' -require 'word_list' +$: << 'lib' +require 'coderay' +puts "Running basic CodeRay #{CodeRay::VERSION} tests..." + +suite = %w(basic load_plugin_scanner word_list) +for test_case in suite + load File.join(MYDIR, test_case + '.rb') +end |