Stevenson now uses symbols instead of integers to set log level

This commit is contained in:
Parker Moore
2014-05-06 13:03:56 -04:00
parent 63e959e4e1
commit 2aa8908948
3 changed files with 28 additions and 15 deletions

View File

@@ -166,9 +166,9 @@ class TestConfiguration < Test::Unit::TestCase
end
should "successfully load a TOML file" do
Jekyll.logger.log_level = Jekyll::Stevenson::WARN
Jekyll.logger.log_level = :warn
assert_equal Jekyll::Configuration::DEFAULTS.merge({ "baseurl" => "/you-beautiful-blog-you", "title" => "My magnificent site, wut" }), Jekyll.configuration({ "config" => [@paths[:toml]] })
Jekyll.logger.log_level = Jekyll::Stevenson::INFO
Jekyll.logger.log_level = :info
end
should "load multiple config files" do