test/howl_test.rb in howl-0.5.0 vs test/howl_test.rb in howl-0.5.1

- old
+ new

@@ -41,9 +41,18 @@ should("be able to find its output path") { topic.output_path == (topic.site.output_path "simple.html") } end + context 'empty.html' do + setup { Page.new(fixture_path('site/empty.html'), @site) } + + asserts("#content") { topic.content.strip }.equals "" + asserts("#view is correct") { + topic.view == View.new(:site => topic.site) + } + end + context "no_yaml.html" do setup { Page.new(fixture_path("site/no_yaml.html"), @site) } asserts("#content") { topic.content.strip }.equals "This page has no YAML front-matter." asserts("#view is correct") {