Sha256: f386bccc03e3cb3ce5b137d60a7c27b8a016db220a03d67f8f710b0d09ec3b70
Contents?: true
Size: 912 Bytes
Versions: 1
Compression:
Stored size: 912 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("h1") 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
brief-1.9.11 | spec/lib/brief/apps_spec.rb |