Compare commits

...

5 Commits

Author SHA1 Message Date
Jason Watson
75b93e3fa5 RDiscount is required to run the test suite. 2010-08-30 23:11:16 +01:00
Jason Watson
dc7a7d0090 Updated for 1.9 encoding support. 2010-08-30 23:03:04 +01:00
Jason Watson
4aae2a7bc7 RedGreen is broken in 1.9.2. Test::Unit has colouring ability now. 2010-08-30 22:57:13 +01:00
Jason Watson
e53a5407b9 Test::Unit is no longer ships with Ruby. 2010-08-30 22:55:39 +01:00
Jason Watson
e054202c2b fix load errors in ruby 1.9.2. 2010-08-30 22:35:15 +01:00
4 changed files with 6 additions and 2 deletions

View File

@@ -35,6 +35,7 @@ h2. Developer Dependencies
* Shoulda: Test framework (Ruby)
* RR: Mocking (Ruby)
* RedGreen: Nicer test output (Ruby)
* RDiscount: Discount Markdown Processor (Ruby)
h2. License

View File

@@ -7,7 +7,6 @@ require 'RedCloth'
require 'rdiscount'
require 'test/unit'
require 'redgreen'
require 'shoulda'
require 'rr'

View File

@@ -1,9 +1,11 @@
require 'rubygems'
gem 'test-unit'
require 'test/unit'
# for some reason these tests fail when run via TextMate
# but succeed when run on the command line.
tests = Dir["#{File.dirname(__FILE__)}/test_*.rb"]
tests = Dir[File.expand_path("#{File.dirname(__FILE__)}/test_*.rb")]
tests.each do |file|
require file
end

View File

@@ -1,3 +1,5 @@
# coding: utf-8
require File.dirname(__FILE__) + '/helper'
class TestTags < Test::Unit::TestCase