Sha256: 3c5e36dee19b46399488a7c17b2ac49b210686774f5188340f227a446c900958

Contents?: true

Size: 549 Bytes

Versions: 14

Compression:

Stored size: 549 Bytes

Contents

require "spec_helper"

describe "Content Transformation" do
  let(:outline) { Brief.testcase.document_at("index.md") }
  let(:wireframe) { Brief.testcase.document_at("wireframe.html.md") }

  it "transforms the link tags based on the DSL" do
    html = outline.to_html
    expect(html).to include("Blueprint Persona Example")
    expect(html).to include("brief://")
  end

  it "automatically inlines SVG content for us" do
    html = wireframe.to_html
    expect(html).to include("svg-wrapper")
    expect(html).to include("svg version")
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
brief-1.11.8 spec/lib/brief/content_transformation_spec.rb
brief-1.11.7 spec/lib/brief/content_transformation_spec.rb
brief-1.11.6 spec/lib/brief/content_transformation_spec.rb
brief-1.11.5 spec/lib/brief/content_transformation_spec.rb
brief-1.11.4 spec/lib/brief/content_transformation_spec.rb
brief-1.11.3 spec/lib/brief/content_transformation_spec.rb
brief-1.11.2 spec/lib/brief/content_transformation_spec.rb
brief-1.11.1 spec/lib/brief/content_transformation_spec.rb
brief-1.11.0 spec/lib/brief/content_transformation_spec.rb
brief-1.10.1 spec/lib/brief/content_transformation_spec.rb
brief-1.10.0 spec/lib/brief/content_transformation_spec.rb
brief-1.9.14 spec/lib/brief/content_transformation_spec.rb
brief-1.9.13 spec/lib/brief/content_transformation_spec.rb
brief-1.9.12 spec/lib/brief/content_transformation_spec.rb