Mercurial > hg > soundsoftware-site
view vendor/gems/coderay-1.0.0/test/functional/suite.rb @ 915:2a68662d5adf cannam_integration
*needs further testing* Moved several files' extension to ".erb"; modified two files because they were calling partials/templates with rhtml extensions; renamed email templates sent when a user is added to a publication.
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Fri, 02 Mar 2012 12:37:17 +0000 |
parents | cbb26bc654de |
children |
line wrap: on
line source
require 'test/unit' $VERBOSE = $CODERAY_DEBUG = true $:.unshift File.expand_path('../../../lib', __FILE__) require 'coderay' mydir = File.dirname(__FILE__) suite = Dir[File.join(mydir, '*.rb')]. map { |tc| File.basename(tc).sub(/\.rb$/, '') } - %w'suite for_redcloth' puts "Running basic CodeRay #{CodeRay::VERSION} tests: #{suite.join(', ')}" for test_case in suite load File.join(mydir, test_case + '.rb') end