Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 34 lines (24 sloc) 0.66 kB
a42690d @qrush Freezing to RedCloth 4.1.0 just for the tests
qrush authored
1 require 'rubygems'
39a487c @krisb redcloth set to >= 4.2.1
krisb authored
2 gem 'RedCloth', '>= 4.2.1'
a42690d @qrush Freezing to RedCloth 4.1.0 just for the tests
qrush authored
3
bffdeee @mojombo rename to Jekyll
mojombo authored
4 require File.join(File.dirname(__FILE__), *%w[.. lib jekyll])
6fb91f4 @mojombo cleanup and tests
mojombo authored
5
de8bd48 @mojombo Maruku is now the only processor dependency installed by default. Clo…
mojombo authored
6 require 'RedCloth'
7 require 'rdiscount'
8
6fb91f4 @mojombo cleanup and tests
mojombo authored
9 require 'test/unit'
1211f23 @qrush Adding support for setting post categories through YAML if not specif…
qrush authored
10 require 'redgreen'
8807c76 @qrush Starting conversion to shoulda
qrush authored
11 require 'shoulda'
ab262a2 @qrush Stubbing out configuration with RR and making sure include tags get r…
qrush authored
12 require 'rr'
6fb91f4 @mojombo cleanup and tests
mojombo authored
13
bffdeee @mojombo rename to Jekyll
mojombo authored
14 include Jekyll
f06d2e6 @mojombo clean up tests
mojombo authored
15
de8bd48 @mojombo Maruku is now the only processor dependency installed by default. Clo…
mojombo authored
16 # Send STDERR into the void to suppress program output messages
17 STDERR.reopen(test(?e, '/dev/null') ? '/dev/null' : 'NUL:')
18
a5155c8 Fixed tests (... or commented them out). We rule.
Josh Nichols and Nick Quaranto authored
19 class Test::Unit::TestCase
ab262a2 @qrush Stubbing out configuration with RR and making sure include tags get r…
qrush authored
20 include RR::Adapters::TestUnit
21
ae4e772 @qrush Bringing back the test_site tests
qrush authored
22 def dest_dir(*subdirs)
479d8c7 @qrush Allowing the dest_dir and source_dir helpers to take arguments so tes…
qrush authored
23 File.join(File.dirname(__FILE__), 'dest', *subdirs)
c60be9c @qrush Stubbing out the configuration makes for much less warnings.
qrush authored
24 end
25
ae4e772 @qrush Bringing back the test_site tests
qrush authored
26 def source_dir(*subdirs)
479d8c7 @qrush Allowing the dest_dir and source_dir helpers to take arguments so tes…
qrush authored
27 File.join(File.dirname(__FILE__), 'source', *subdirs)
a5155c8 Fixed tests (... or commented them out). We rule.
Josh Nichols and Nick Quaranto authored
28 end
f06d2e6 @mojombo clean up tests
mojombo authored
29
a5155c8 Fixed tests (... or commented them out). We rule.
Josh Nichols and Nick Quaranto authored
30 def clear_dest
31 FileUtils.rm_rf(dest_dir)
32 end
1211f23 @qrush Adding support for setting post categories through YAML if not specif…
qrush authored
33 end
Something went wrong with that request. Please try again.