Dan Tao
fafacef0a0
added a test that YAML.load doesn't get clobbered
...
I THINK this is a good idea? I considered multiple approaches to testing this;
what I like about this dumb way (just try to deserialize a symbol) is that it's
nice and simple.
2014-01-23 17:42:14 -08:00
Dan Tao
4f0b1bdf6d
switched from YAML.safe_load* to SafeYAML.load*
2014-01-23 17:25:17 -08:00
Robin Dupret
4bf716c2ad
Set highlighter to pygments when upgrading
...
In case you are upgrading from 1.4.2 to 2.0 and the pygments option is
set to true, then the highlighter option will be set to pygments
automatically.
2013-12-22 18:45:46 +01:00
Parker Moore
3b0c8ad654
Add some unit tests for TOML integration.
2013-11-29 23:33:52 -05:00
Parker Moore
46b0d5037b
Add test for Configuration#fix_common_issues
2013-08-06 21:22:08 +02:00
Parker Moore
253fc8c506
Raise LoadError if the file doesn't exist but do not catch it. :)
2013-07-12 12:22:06 +02:00
Parker Moore
63dc563621
Add tests for exclude/include backwards-compatibility
2013-05-17 21:05:09 +02:00
Parker Moore
5bcce7a1f1
Fix unit tests for Configuration#backwards_compatibilize
2013-04-15 00:41:46 +02:00
Parker Moore
ef9d8ddb7d
Matching tests to new colorized output
2013-04-13 20:24:45 +02:00
Parker Moore
0f600a322c
Added a unit test for Configuration#backwards_compatibilize
2013-04-12 22:42:54 +02:00
Parker Moore
7c7bacffe7
Refactor setup block for test of Configuration#config_files
2013-04-12 22:37:01 +02:00
Parker Moore
0812c1b4c9
Add unit tests for Configuration#config_files
2013-04-12 22:29:27 +02:00
Parker Moore
0c0b13e69b
Unit test for Configuration#stringify_keys
2013-04-12 21:56:45 +02:00
Parker Moore
04fd68a232
Move Jekyll::DEFAULTS to Jekyll::Configuration::DEFAULTS
2013-04-12 21:19:20 +02:00
Alex Kessinger
14a669530e
Fixing tests, and making it more ruby friendly
2013-04-11 10:17:59 -07:00
Alex Kessinger
1e209c9bf3
Upgrade --config to accept an array of files
2013-04-10 11:38:49 -07:00
Alex Kessinger
df1efeff25
Accept multiple config files from command line
...
Parse config as if it can contain multiple references to config files.
This allows you to pass in multiple config files from the command line
Helps with issues #514 and #703
2013-04-10 10:19:48 -07:00
Parker Moore
9100967ebd
Add unit tests for custom configuration.
2013-03-16 14:46:26 +01:00
Parker Moore
a19bb1815a
Fixed merge conflicts in test/test_configuration.rb
2013-02-20 23:13:06 +01:00
Parker Moore
c7c0a9432c
Updating tests for safe_yaml.
2013-02-10 19:09:36 +01:00
Tom Preston-Werner
6a31e650f3
Tests and specs run under 1.9.
2011-04-24 18:39:27 +08:00
Christian Hellsten
46a95bc036
git merge mojombo/master
2010-06-22 15:42:51 +03:00
Gregor Schmidt
597c7a7904
changes to stdout and -err - tests and behaviour
...
By using $stdin adn $stderr instead of STDIN and
STDERR it is possible to capture or redirect them
using in process ruby code without the need
to manage pipes and external processes
2009-11-24 21:42:22 +01:00
Christian Hellsten
52342fe6e1
Fixed bug where including includes from an include threw an exception.
2009-10-28 02:12:47 +02:00
Nick Quaranto
486ae25fc1
Validating the configuration loads properly and is a hash, based on jrk's implementation. Closes #22 .
2009-05-31 21:33:27 -04:00