features/html.feature in qipowl-0.9.0 vs features/html.feature in qipowl-0.9.1

- old
+ new

@@ -21,11 +21,20 @@ | "here λcodeλ goes" | "<p>here <code>code</code> goes</p>" | | "here ≡λbold codeλ≡ goes" | "<p>here <strong><code>bold code</code></strong> goes</p>" | | "here λ≡code bold≡λ goes" | "<p>here <code><strong>code bold</strong></code> goes</p>" | | "Hello, ≈World≈!" | "<p>Hello, <em>World</em>!</p>" | + Scenario Outline: Inplace tags nested + Given we use "html" bowler + When the input string is <input> + And the execute method is called on bowler + Then the result should NOT equal to <output> + Examples: + | input | output | + | "here ≡nested ≡bold≡ tags≡ go" | "<p>here <strong>nested <strong>bold</strong> tags</strong> goes</p>" | + Scenario Outline: Alone tags Given we use "html" bowler When the input string is <input> And the execute method is called on bowler Then the result should equal to <output> @@ -40,11 +49,11 @@ When the input string is "Λ ruby @mapping[:block] = ≡bold≡ Λ" And the execute method is called on bowler Then the result should equal to """ - <pre class='ruby'>@mapping[:block] = ≡bold≡ </pre> + <pre class='ruby'>@mapping[:block] = ≡bold≡</pre> """ Scenario: Block tag ✍ Given we use "html" bowler When the input string is @@ -186,10 +195,9 @@ Nice? """ And the execute method is called on bowler Then the result should equal to """ - <p>Nice?</p> """ Scenario: Blockquotes