Sha256: 831bd6135c7d1d7f21a3b321668849ea1578fd526e9d155bba1dc5d089a0e1c6

Contents?: true

Size: 589 Bytes

Versions: 4

Compression:

Stored size: 589 Bytes

Contents

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
brief-0.0.5 spec/lib/brief/dsl_spec.rb
brief-0.0.4 spec/lib/brief/dsl_spec.rb
brief-0.0.3 spec/lib/brief/dsl_spec.rb
brief-0.0.2 spec/lib/brief/dsl_spec.rb