spec/lib/brief/document_spec.rb in brief-1.4.4 vs spec/lib/brief/document_spec.rb in brief-1.5.0
- old
+ new
@@ -21,9 +21,13 @@
it "renders html" do
expect(sample.to_html).to match(/h1.*User Stories.*h1\>/)
end
+ it "renders html" do
+ expect(Brief.page_document.to_html).to be_present
+ end
+
it "parses the html" do
expect(sample.css("h1").length).to eq(2)
end
it "deserializes YAML frontmatter into attributes" do