spec/lib/reveal-ck/presentation_spec.rb in reveal-ck-0.1.7 vs spec/lib/reveal-ck/presentation_spec.rb in reveal-ck-0.1.8

- old
+ new

@@ -57,7 +57,23 @@ expect(html).to include '</section>' expect(presentation.theme).to eq 'night' end end + describe '.load' do + it 'can work with a .rb file' do + presentation = Presentation.load slides_rb + html = presentation.html + expect(html).to start_with '<section>' + end + end + + describe '.load' do + it 'can work with a template file' do + presentation = Presentation.load slides_haml + html = presentation.html + expect(html).to start_with '<section>' + end + end + end end