Sha256: cde1ade9ccbdbf6a89546819a5c2a433439963325ab8075a1b8594e57fd8110b
Contents?: true
Size: 773 Bytes
Versions: 1
Compression:
Stored size: 773 Bytes
Contents
require 'minitest_helper' module SlideHero describe GroupedSlides do describe "nesting slides" do it "groups sections" do grouped_slides = GroupedSlides.new do slide "banana" do point "High in potassium" end slide "apple" do point "Good if you hate doctors" end end assert_dom_match grouped_slides.compile, "<section>" + "<section data-transition=\"default\">" + "<h1>banana</h1>" + "<p>High in potassium</p>" + "</section>" + "<section data-transition=\"default\">" + "<h1>apple</h1>" + "<p>Good if you hate doctors</p>" + "</section>" + "</section>" end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
slide_hero-0.0.2 | test/slide_hero/grouped_slides_spec.rb |