Sha256: 139c513a1329b3fb51f02bdb549e3ff2646e08d0c328abddcf2804d4b247f5a2

Contents?: true

Size: 509 Bytes

Versions: 10

Compression:

Stored size: 509 Bytes

Contents

require 'spec_helper'

module RevealCK
  describe Slide do

    let :intro_slide do
      Slide.new template: 'intro',
                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 = intro_slide.html
        expect(output).to include 'Reveal.js'
      end
    end

  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
reveal-ck-0.6.0 spec/lib/reveal-ck/slide_spec.rb
reveal-ck-0.5.1 spec/lib/reveal-ck/slide_spec.rb
reveal-ck-0.5.0 spec/lib/reveal-ck/slide_spec.rb
reveal-ck-0.4.2 spec/lib/reveal-ck/slide_spec.rb
reveal-ck-0.4.1 spec/lib/reveal-ck/slide_spec.rb
reveal-ck-0.4.0 spec/lib/reveal-ck/slide_spec.rb
reveal-ck-0.3.0 spec/lib/reveal-ck/slide_spec.rb
reveal-ck-0.2.0 spec/lib/reveal-ck/slide_spec.rb
reveal-ck-0.1.8 spec/lib/reveal-ck/slide_spec.rb
reveal-ck-0.1.7 spec/lib/reveal-ck/slide_spec.rb