Sha256: 3e841a3f8fba2b710bb70b22aca2a56de95ee7b0bb387575c53dbe5bd9fa0fad

Contents?: true

Size: 390 Bytes

Versions: 1

Compression:

Stored size: 390 Bytes

Contents

require 'spec_helper'

describe TP::Presenter do
  describe ".present" do
    subject(:present) { klass.present markdown }
    let(:markdown) {
      "# First Slide\n\n* Bullet 1\n* Bullet 2\n\n# Second Slide"
    }

    it "works" do
      klass.should_receive(:print).twice
      klass.should_receive(:puts).twice
      $stdin.should_receive(:gets).twice

      present
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tp-0.0.1 spec/lib/tp_spec.rb