Sha256: 6a910e5ea320a995c511ff059f84cec3abf05ad4fe28cc713a2d68b2cf8809d1
Contents?: true
Size: 888 Bytes
Versions: 12
Compression:
Stored size: 888 Bytes
Contents
Feature: Export presentation As a presentator I want to export an already created presentation In order to give to the audience Background: Given I use presentation fixture "export_presentation1" with title "My Presentation" and date "20140901" Scenario: Default file name When I successfully run `middleman-presentation export presentation` Then a file named "20140901-my-presentation.zip" should exist Scenario: Different file name When I successfully run `middleman-presentation export presentation --output-file presentation.zip` Then a file named "presentation.zip" should exist Scenario: Wrong file name When I run `middleman-presentation export presentation --output-file presentation.tar.gz` Then the output should contain: """ The provided zip filename "presentation.tar.gz" is invalid. It needs to end with ".zip". """
Version data entries
12 entries across 12 versions & 1 rubygems