Sha256: 938da9f6a1ca03c3b0544414a934f70839d5981d7513cec522a56e87e3690736

Contents?: true

Size: 607 Bytes

Versions: 6

Compression:

Stored size: 607 Bytes

Contents

# encoding: utf-8

###
#  to run use
#     ruby -I ./lib -I ./test test/test_filter.rb


require 'helper'


class TestFilter < MiniTest::Test

include Slideshow::DeckFilter

def test_slide_breaks_for_hr

  content =<<EOS

<p>some text</p>
<hr />
<p>some text</p>
<hr>
<p>some text</p>

EOS

  content_expected =<<EOS

<p>some text</p>

<!-- _S9SLIDE_ -->

<p>some text</p>

<!-- _S9SLIDE_ -->

<p>some text</p>

EOS


  assert_equal content_expected, add_slide_directive_for_hr( content )

end  # method test_slide_breaks_for_hr
  


end # class TestFilter

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
slideshow-models-4.1.0 test/test_filter.rb
slideshow-models-4.0.1 test/test_filter.rb
slideshow-models-4.0.0 test/test_filter.rb
slideshow-models-3.3.1 test/test_filter.rb
slideshow-models-3.3.0 test/test_filter.rb
slideshow-models-3.2.0 test/test_filter.rb