spec/lib/brief/briefcase_spec.rb in brief-1.8.5 vs spec/lib/brief/briefcase_spec.rb in brief-1.8.6

- old
+ new

@@ -13,10 +13,19 @@ it "has a slug" do expect(briefcase.slug).to eq("example") end + it "has settings" do + expect(briefcase.settings).not_to be_empty + end + + it "has a table of contents" do + expect(briefcase.table_of_contents).to be_present + expect(briefcase.table_of_contents.headings).not_to be_empty + end + it "points to a file repository" do expect(briefcase.repository).to be_a(Brief::Repository) end it "defines methods which combine models in arbitrary ways" do @@ -44,9 +53,9 @@ end context "Document Mappings" do it "has all of the documents" do expect(briefcase.epics.length).to eq(1) - expect(briefcase.documents.length).to eq(8) + expect(briefcase.documents.length).to eq(9) end end end