Sha256: 531328aeeb58ec959a335388acaa611fc047f99061e54ae656b2c22933e44e39
Contents?: true
Size: 601 Bytes
Versions: 72
Compression:
Stored size: 601 Bytes
Contents
require "spec_helper" describe "Brief HTML Rendering" do let(:sample) do Brief.example_document end it "wraps the document with some identifying details" do expect(sample.to_html).to include("epics/epic.html.md") end it "wraps the higher level headings under section elements" do expect(sample.css("section").length).to eq(2) end it "wraps the lower level headings under article elements" do expect(sample.css("article").length).to eq(3) end it "nests the articles under the parent section" do expect(sample.css("section article").length).to eq(3) end end
Version data entries
72 entries across 72 versions & 1 rubygems