Sha256: 6f404ed3e92f01565ffb0f7e86aaf01615f9916d08fdc561b9a3ac641b82a98f

Contents?: true

Size: 509 Bytes

Versions: 2

Compression:

Stored size: 509 Bytes

Contents

require 'spec_helper'

module RevealCK
  describe Slide do

    let :title_slide do
      Slide.new template: 'title',
                title: 'Reveal.js',
                subtitle: 'HTML Presentations Made Easy',
                author: 'Hakim El Hattab',
                site: 'http://hakim.se',
                twitter: 'hakimel'
    end

    describe '#html' do
      it 'produces html output' do
        output = title_slide.html
        expect(output).to include 'Reveal.js'
      end
    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
reveal-ck-0.1.6 spec/lib/reveal-ck/slide_spec.rb
reveal-ck-0.1.5 spec/lib/reveal-ck/slide_spec.rb