more explicit test description

This commit is contained in:
Ben Balter 2014-04-14 12:15:16 -04:00
parent b666ac787b
commit 658f418400
1 changed files with 1 additions and 1 deletions

View File

@ -192,7 +192,7 @@ class TestSite < Test::Unit::TestCase
assert_equal true, @site.send(:has_yaml_header?, abs_path) assert_equal true, @site.send(:has_yaml_header?, abs_path)
end end
should "not read PGP keys as pages" do should "enforce a strict 3-dash limit on the start of the YAML front-matter" do
abs_path = File.expand_path("pgp.key", @site.source) abs_path = File.expand_path("pgp.key", @site.source)
assert_equal false, @site.send(:has_yaml_header?, abs_path) assert_equal false, @site.send(:has_yaml_header?, abs_path)
end end