features/html.feature in qipowl-0.9.1 vs features/html.feature in qipowl-0.9.2
- old
+ new
@@ -139,9 +139,19 @@
| "List: • li1 • nested 1 • nested 2 • li2" | "<p>List:</p> <ul class='fancy'><li>li1 </li> <ul class='fancy'><li>nested 1 </li> <li>nested 2 </li></ul> <li>li2</li></ul>" |
| "Data: ▶ dt — dd ▶ dt — dd" | "<p>Data:</p> <dl> ␍ <dt>dt</dt> ␍ <dd>dd </dd> ␍ ␍ <dt>dt</dt> ␍ <dd>dd</dd> ␍ </dl>" |
| "§1 Header" | "<h1>Header</h1>" |
| "〉 Blockquote" | "<blockquote><p class='blockquote'>Blockquote</p></blockquote>" |
+ Scenario Outline: Self 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>
+
+ Examples:
+ | input | output |
+ | "here qipowl goes" | "<p>here <strong>qipowl</strong> goes</p>" |
+
Scenario: Address tag
Given we use "html" bowler
When the input string is "℁ ≡Twitter≡ ⏎ ☎ +1(987)5554321 ⏎ ✉ info@twitter.com"
And the execute method is called on bowler
Then the result should equal to "<address><strong>Twitter</strong> <br/> <span class='phone'>☎ +1(987)5554321</span> <br/> <span class='email'>✉ info@twitter.com</span></address>"