Merge remote-tracking branch 'jbw/ruby-v1.9' into devel
This commit is contained in:
commit
093a5efbe1
|
@ -34,6 +34,7 @@ h2. Developer Dependencies
|
||||||
* Shoulda: Test framework (Ruby)
|
* Shoulda: Test framework (Ruby)
|
||||||
* RR: Mocking (Ruby)
|
* RR: Mocking (Ruby)
|
||||||
* RedGreen: Nicer test output (Ruby)
|
* RedGreen: Nicer test output (Ruby)
|
||||||
|
* RDiscount: Discount Markdown Processor (Ruby)
|
||||||
|
|
||||||
h2. License
|
h2. License
|
||||||
|
|
||||||
|
|
|
@ -7,11 +7,13 @@ require 'RedCloth'
|
||||||
require 'rdiscount'
|
require 'rdiscount'
|
||||||
require 'kramdown'
|
require 'kramdown'
|
||||||
|
|
||||||
require 'test/unit'
|
|
||||||
require 'redgreen'
|
|
||||||
require 'shoulda'
|
require 'shoulda'
|
||||||
require 'rr'
|
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
|
include Jekyll
|
||||||
|
|
||||||
# Send STDERR into the void to suppress program output messages
|
# Send STDERR into the void to suppress program output messages
|
||||||
|
|
|
@ -1,9 +1,11 @@
|
||||||
|
require 'rubygems'
|
||||||
|
gem 'test-unit'
|
||||||
require 'test/unit'
|
require 'test/unit'
|
||||||
|
|
||||||
# for some reason these tests fail when run via TextMate
|
# for some reason these tests fail when run via TextMate
|
||||||
# but succeed when run on the command line.
|
# 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|
|
tests.each do |file|
|
||||||
require file
|
require file
|
||||||
end
|
end
|
|
@ -1,3 +1,5 @@
|
||||||
|
# coding: utf-8
|
||||||
|
|
||||||
require File.dirname(__FILE__) + '/helper'
|
require File.dirname(__FILE__) + '/helper'
|
||||||
|
|
||||||
class TestTags < Test::Unit::TestCase
|
class TestTags < Test::Unit::TestCase
|
||||||
|
|
Loading…
Reference in New Issue