Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add feature file for paragraphs #10

Merged
merged 1 commit into from Dec 15, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
@@ -0,0 +1,45 @@
# language: en
@paragraphs
Feature: Paragraphs
In order to write normal content
As a writer
I want to be able to create discrete paragraphs

Scenario: Render a paragraph with a single line
Given the Markdown source
"""
A paragraph with a single line.
"""
When it is converted to AsciiDoc
Then the result should match the AsciiDoc source
"""
A paragraph with a single line.
"""

Scenario: Render a paragraph with multiple lines
Given the Markdown source
"""
First line of paragraph.
Second line of paragraph.
"""
When it is converted to AsciiDoc
Then the result should match the AsciiDoc source
"""
First line of paragraph.
Second line of paragraph.
"""

Scenario: Render multiple paragraphs seperated by a blank line
Given the Markdown source
"""
First paragraph.

Second paragraph.
"""
When it is converted to AsciiDoc
Then the result should match the AsciiDoc source
"""
First paragraph.

Second paragraph.
"""