Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

  • Loading branch information...
commit 093a5efbe1309ac4c4a12ed52a0b24b12cc0b995 2 parents 0f71bdb + de7e001
Tom Preston-Werner authored
1  README.textile
Source Rendered
@@ -34,6 +34,7 @@ h2. Developer Dependencies
34 34
 * Shoulda: Test framework (Ruby)
35 35
 * RR: Mocking (Ruby)
36 36
 * RedGreen: Nicer test output (Ruby)
  37
+* RDiscount: Discount Markdown Processor (Ruby)
37 38
 
38 39
 h2. License
39 40
 
6  test/helper.rb
@@ -7,11 +7,13 @@
7 7
 require 'rdiscount'
8 8
 require 'kramdown'
9 9
 
10  
-require 'test/unit'
11  
-require 'redgreen'
12 10
 require 'shoulda'
13 11
 require 'rr'
14 12
 
  13
+require 'test/unit'
  14
+require 'test/unit/ui/console/testrunner'
  15
+class Test::Unit::UI::Console::TestRunner; def guess_color_availability; true; end; end
  16
+
15 17
 include Jekyll
16 18
 
17 19
 # Send STDERR into the void to suppress program output messages
4  test/suite.rb
... ...
@@ -1,9 +1,11 @@
  1
+require 'rubygems'
  2
+gem 'test-unit'
1 3
 require 'test/unit'
2 4
 
3 5
 # for some reason these tests fail when run via TextMate
4 6
 # but succeed when run on the command line.
5 7
 
6  
-tests = Dir["#{File.dirname(__FILE__)}/test_*.rb"]
  8
+tests = Dir[File.expand_path("#{File.dirname(__FILE__)}/test_*.rb")]
7 9
 tests.each do |file|
8 10
   require file
9 11
 end
2  test/test_tags.rb
... ...
@@ -1,3 +1,5 @@
  1
+# coding: utf-8
  2
+
1 3
 require File.dirname(__FILE__) + '/helper'
2 4
 
3 5
 class TestTags < Test::Unit::TestCase

0 notes on commit 093a5ef

Please sign in to comment.
Something went wrong with that request. Please try again.