diff --git a/site/_docs/collections.md b/site/_docs/collections.md index e55378af..ed0a87ef 100644 --- a/site/_docs/collections.md +++ b/site/_docs/collections.md @@ -333,7 +333,7 @@ file, each document has the following attributes: ## Accessing Collection Attributes -Attributes from the YAML front matter can be accessed as data anywhere in the +Attributes from the YAML front matter can be accessed as data anywhere in the site. Using the above example for configuring a collection as `site.albums`, one might have front matter in an individual file structured as follows (which must use a supported markup format, and cannot be saved with a `.yaml` diff --git a/test/test_log_adapter.rb b/test/test_log_adapter.rb index b6adf990..0160d821 100644 --- a/test/test_log_adapter.rb +++ b/test/test_log_adapter.rb @@ -24,19 +24,19 @@ class TestLogAdapter < JekyllUnitTest subject.adjust_verbosity(:quiet => true) assert_equal Jekyll::LogAdapter::LOG_LEVELS[:error], subject.writer.level end - + should "set the writers logging level to debug when verbose" do subject = Jekyll::LogAdapter.new(LoggerDouble.new) subject.adjust_verbosity(:verbose => true) assert_equal Jekyll::LogAdapter::LOG_LEVELS[:debug], subject.writer.level end - + should "set the writers logging level to error when quiet and verbose are both set" do subject = Jekyll::LogAdapter.new(LoggerDouble.new) subject.adjust_verbosity(:quiet => true, :verbose => true) assert_equal Jekyll::LogAdapter::LOG_LEVELS[:error], subject.writer.level end - + should "not change the writer's logging level when neither verbose or quiet" do subject = Jekyll::LogAdapter.new(LoggerDouble.new) original_level = subject.writer.level @@ -45,7 +45,7 @@ class TestLogAdapter < JekyllUnitTest subject.adjust_verbosity(:quiet => false, :verbose => false) assert_equal original_level, subject.writer.level end - + should "call #debug on writer return true" do writer = LoggerDouble.new logger = Jekyll::LogAdapter.new(writer)