Sha256: e034d37c98c796486762d4cae1a77e1d6ee5f22f18c574f8e2698e43c2deef6a
Contents?: true
Size: 923 Bytes
Versions: 31
Compression:
Stored size: 923 Bytes
Contents
require "spec_helper" describe "Packaged Apps" do let(:sample) do Brief::Briefcase.new(app: "sample") end let(:blueprint) do Brief::Briefcase.new(app: "blueprint", root: Brief.spec_root.join('fixtures','example')) end it "renders documentation for the app" do rendered = blueprint.render_documentation.epic.rendered expect(rendered).to include("Feature Epics") end it "should find the right path for an app name" do expect(Brief::Apps.path_for("blueprint")).to be_exist end it "should be using the blueprint app" do expect(blueprint).to be_uses_app end it "should pick up the view defined" do expect(Brief.views.key?(:summary)).to eq(true) end it "should be using the blueprint app" do expect(sample).to be_uses_app end it "should find the test app, and the gem apps" do expect(Brief::Apps.available_apps).to include("blueprint","sample") end end
Version data entries
31 entries across 31 versions & 1 rubygems