spec/lib/brief/document_spec.rb in brief-1.17.12 vs spec/lib/brief/document_spec.rb in brief-1.17.13
- old
+ new
@@ -28,9 +28,13 @@
it "renders html" do
expect(Brief.page_document.to_html).to be_present
end
+ it "has a path alias property" do
+ expect(Brief.page_document.path_alias).not_to be_empty
+ end
+
it "parses the html" do
expect(sample.css("h1").length).to eq(2)
end
it "deserializes YAML frontmatter into attributes" do