Mercurial > hg > soundsoftware-site
comparison vendor/gems/coderay-1.0.0/test/functional/suite.rb @ 909:cbb26bc654de redmine-1.3
Update to Redmine 1.3-stable branch (Redmine SVN rev 8964)
author | Chris Cannam |
---|---|
date | Fri, 24 Feb 2012 19:09:32 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
908:c6c2cbd0afee | 909:cbb26bc654de |
---|---|
1 require 'test/unit' | |
2 | |
3 $VERBOSE = $CODERAY_DEBUG = true | |
4 $:.unshift File.expand_path('../../../lib', __FILE__) | |
5 require 'coderay' | |
6 | |
7 mydir = File.dirname(__FILE__) | |
8 suite = Dir[File.join(mydir, '*.rb')]. | |
9 map { |tc| File.basename(tc).sub(/\.rb$/, '') } - %w'suite for_redcloth' | |
10 | |
11 puts "Running basic CodeRay #{CodeRay::VERSION} tests: #{suite.join(', ')}" | |
12 | |
13 for test_case in suite | |
14 load File.join(mydir, test_case + '.rb') | |
15 end |