Sha256: 1342192637ec1a0bf688bfba519f3c26e7ab20188445c42005097cb3331838f5

Contents?: true

Size: 1.16 KB

Versions: 12

Compression:

Stored size: 1.16 KB

Contents

Feature: Run presentation

  As a presentator
  I want to run an already created presentation
  In order to use it

  Background:
    Given I use presentation fixture "simple1" with title "My Presentation"

  Scenario: Simple Slide
    Given a slide named "01.html.erb" with:
    """
    <section>
    <h1>Hello World</h1>
    </section>
    """
    And the Server is running
    And I go to "/"
    Then I should see:
    """
    Hello World
    """

  Scenario: Malformed Slide
    Given a slide named "01.html.erb" with:
    """
    <section>
    <%= asdfasdf() %>
    </section>
    """
    And the Server is running
    And I go to "/" and see the following error message:
    """
    NoMethodError: undefined method `asdfasdf
    """

  Scenario: Run it
    Given the Server is running
    When I go to "/"
    Then I should see:
    """
    My Presentation
    """
    When I go to "javascripts/application.js"
    Then I should see:
    """
    jQuery JavaScript Library
    """
    When I go to "stylesheets/application.css"
    Then I should see:
    """
    Hakim El Hattab
    """
    #When I go to "images/lightbox2/img/close.png"
    #Then the status code should be "200"

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
middleman-presentation-core-0.17.7 features/presentation.feature
middleman-presentation-core-0.17.6 features/presentation.feature
middleman-presentation-core-0.17.5 features/presentation.feature
middleman-presentation-core-0.17.2 features/presentation.feature
middleman-presentation-core-0.17.1 features/presentation.feature
middleman-presentation-core-0.17.0 features/presentation.feature
middleman-presentation-core-0.16.3 features/presentation.feature
middleman-presentation-core-0.16.2 features/presentation.feature
middleman-presentation-core-0.16.0 features/presentation.feature
middleman-presentation-core-0.16.0.rc2 features/presentation.feature
middleman-presentation-core-0.16.0.rc1 features/presentation.feature
middleman-presentation-core-0.16.0.beta features/presentation.feature