spec/lib/brief/template_spec.rb in brief-1.9.14 vs spec/lib/brief/template_spec.rb in brief-1.10.0

- old
+ new

@@ -4,11 +4,11 @@ let(:data) do { title: "Epic Example", status: "published", type: "epic", - user_stories:[{ + features:[{ title: "A user wants to do something", paragraph: "As a user I would like to do something so that I can succeed", goal: "I can succeed", persona: "user", behavior: "do something" @@ -33,10 +33,10 @@ it "supports more complex renderings" do doc = Brief::Document.create_from_data(data) content = doc.content - expect(content).to include("# User Stories") + expect(content).to include("# Features") expect(content).to include("# Epic Example") expect(content).to include("## A user wants to do something") expect(content).to include("## A user wants to do something else") end