require "spec_helper" describe "The Publisher definition DSL" do before(:all) do require Brief.fixtures.join("generator_dsl_example.rb") end it "should define a generator called Project Overview" do expect(Brief::Publisher.fetch("Project Overview")).to be_present end it "should find the appropriate Publisher by using an alias" do expect(Brief::Publisher.fetch("project_overview")).to be_present end it "should find the appropriate Publisher using a case insensitve search" do expect(Brief::Publisher.fetch("project overview")).to be_present end end