Skip to content

Commit

Permalink
[index.html] Add feature that covers description and generator
Browse files Browse the repository at this point in the history
  • Loading branch information
jedcn committed May 10, 2015
1 parent 558094c commit 35021c8
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions features/generate-with-config.feature
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@ Feature: The capabilities of config.yml
Scenario: Generating slides with a template and config.yml
Given a file named "config.yml" with:
"""
title: "Awesome Title"
author: "Awesome Author"
theme: "night"
transition: "page"
title: "Awesome Title"
author: "Awesome Author"
theme: "night"
transition: "page"
description: "My beautiful slides"
"""
Given a file named "slides.haml" with:
"""
Expand All @@ -42,6 +43,14 @@ Feature: The capabilities of config.yml
"""
And the file "slides/index.html" should contain:
"""
<meta name="description" content="My beautiful slides">
"""
And the file "slides/index.html" should contain:
"""
<meta name="generator" content="reveal-ck
"""
And the file "slides/index.html" should contain:
"""
<link rel="stylesheet" href="css/theme/night.css" id="theme">
"""
And the file "slides/index.html" should contain:
Expand Down

0 comments on commit 35021c8

Please sign in to comment.