Sha256: d5218b5b9ac7f5816d694d95343332a1e35f7ca4a59dcd76bc772dbcdfc3f71f
Contents?: true
Size: 1.47 KB
Versions: 12
Compression:
Stored size: 1.47 KB
Contents
Feature: Render different kind of templates As a presentator I want to use the template engine which fits best for a given use case In order to reduce the amount of time to create a new presentation Background: Given I use presentation fixture "simple1" with title "My Presentation" Scenario: Markdown Slide Given a slide named "01.html.md" with: """ <section> # Hello world </section> """ And the Server is running And I go to "/" Then I should see: """ <section> <h1 id="hello-world">Hello world</h1> </section> """ Scenario: Erb Slide Given a slide named "01.html.erb" with: """ <section> <%= 'test_string' %> </section> """ And the Server is running And I go to "/" Then I should see: """ <section> test_string </section> """ Scenario: Liquid Slide Given a slide named "01.html.liquid" with: """ <section> {{ 'test_string' }} </section> """ And the Server is running And I go to "/" Then I should see: """ <section> test_string </section> """ Scenario: Markdown + Erb Slide Given a slide named "01.html.md.erb" with: """ <section> # Hello world <%= 'test_string' %> </section> """ And the Server is running And I go to "/" Then I should see: """ <section> <h1 id="hello-world">Hello world</h1> <p>test_string</p> </section> """
Version data entries
12 entries across 12 versions & 1 rubygems