Sha256: fcfb47c60fb405dbd3b75e50a89f0ee2b3e69a17cd9329a53089e5843728a216
Contents?: true
Size: 1.02 KB
Versions: 24
Compression:
Stored size: 1.02 KB
Contents
require "spec_helper" module Middleman class Extension def self.method_missing(*args); end def method_missing(*args); end end end 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
24 entries across 24 versions & 1 rubygems