Feature: Use predefined slides when creating a new presentation As a presentator I want to create a new presentation using predefined slides In order to use it Scenario: No predefined slides When I successfully run `middleman-presentation create presentation presentation1 --title "My Presentation" --no-create-predefined-slides` Then a file named "source/slides/00.html.erb" should not exist And a file named "source/slides/999980.html.erb" should not exist And a file named "source/slides/999981.html.erb" should not exist And a file named "source/slides/999982.html.erb" should not exist Scenario: Custom start slide template Given a user defined predefined slide named "00.html.erb.tt" with: """

Start

""" And I successfully run `middleman-presentation create presentation presentation1 --title "My Presentation"` When I cd to "presentation1" Then a slide named "00.html.erb" should exist with: """

Start

""" Scenario: Custom questions template Given a user defined predefined slide named "999980.html.erb.tt" with: """

Questions? Really

""" And I successfully run `middleman-presentation create presentation presentation1 --title "My Presentation"` When I cd to "presentation1" Then a slide named "999980.html.erb" should exist with: """

Questions? Really

""" Scenario: Custom contact template Given a user defined predefined slide named "999981.html.erb.tt" with: """

Contact

Me and You
""" And I successfully run `middleman-presentation create presentation presentation1 --title "My Presentation"` When I cd to "presentation1" Then a slide named "999981.html.erb" should exist with: """

Contact

Me and You
""" Scenario: Custom end slide template Given a user defined predefined slide named "999982.html.erb.tt" with: """

See you!

""" And I successfully run `middleman-presentation create presentation presentation1 --title "My Presentation"` When I cd to "presentation1" Then a slide named "999982.html.erb" should exist with: """

See you!

"""