Sha256: 249206940ae301e3d837857feb27aea8cec700540b914e17f4fc489851c2392f

Contents?: true

Size: 320 Bytes

Versions: 5

Compression:

Stored size: 320 Bytes

Contents

require 'spec_helper'

describe TP::Slide do
  subject(:slide) { klass.new markdown }

  let(:markdown) {
    "# First Slide\n\nThis is a slide with a paragraph"
  }

  its(:markdown) { should == markdown }

  its(:header) { should == "First Slide" }
  its(:content) { should == "This is a slide with a paragraph" }
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
tp-0.6.0 spec/lib/tp/slide_spec.rb
tp-0.5.1 spec/lib/tp/slide_spec.rb
tp-0.5.0 spec/lib/tp/slide_spec.rb
tp-0.4.1 spec/lib/tp/slide_spec.rb
tp-0.4.0 spec/lib/tp/slide_spec.rb