more explicit test description
This commit is contained in:
parent
b666ac787b
commit
658f418400
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue