test/howl_test.rb in howl-0.4.1 vs test/howl_test.rb in howl-0.5.0
- old
+ new
@@ -6,9 +6,13 @@
should("find all pages") {
topic.pages == Dir[fixture_path("site/**/*.*")].map { |path| Page.new(path, topic) }
}
+ should("read its config") {
+ topic.view.has_key?(:title)
+ }
+
should("write out all pages") {
topic.write_to_disk
topic.pages.map { |page|
File.exist?(page.output_path)
}.all?