Merge remote-tracking branch 'jbw/ruby-v1.9' into devel

This commit is contained in:
Tom Preston-Werner 2011-04-23 18:08:34 +08:00
commit 093a5efbe1
4 changed files with 10 additions and 3 deletions

View File

@ -34,6 +34,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,11 +7,13 @@ require 'RedCloth'
require 'rdiscount'
require 'kramdown'
require 'test/unit'
require 'redgreen'
require 'shoulda'
require 'rr'
require 'test/unit'
require 'test/unit/ui/console/testrunner'
class Test::Unit::UI::Console::TestRunner; def guess_color_availability; true; end; end
include Jekyll
# Send STDERR into the void to suppress program output messages

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