features/typogrowth.feature in typogrowth-0.9.3 vs features/typogrowth.feature in typogrowth-0.9.5
- old
+ new
@@ -65,5 +65,24 @@
Examples:
| input | output |
| "This is a cat." | "This is a cat." |
+ Scenario Outline: Shadows handling
+ Given the input string is <input>
+ When input string is processed with Typogrowl’s typography parser
+ Then the typoed result should equal to <output>
+ And the call to string’s typo should equal to <output>
+
+ Examples:
+ | input | output |
+ | "<p><img src="http://mudasobwa.ru/i/self.jpg">Here: http://wikipedia.ru</p>" | "<p><img src="http://mudasobwa.ru/i/self.jpg">Here: http://wikipedia.ru</p>" |
+
+ Scenario Outline: Language determining
+ Given the input string is <input>
+ When input string language is determined
+ Then the language should equal to <output>
+
+ Examples:
+ | input | output |
+ | "<p><img src="http://mudasobwa.ru/i/self.jpg">Here: http://wikipedia.ru</p>" | "us" |
+ | "<p><img src="http://mudasobwa.ru/i/self.jpg">Здесь: http://wikipedia.ru</p>" | "ru" |