features/typogrowth.feature in typogrowth-0.9.7 vs features/typogrowth.feature in typogrowth-0.9.8

- old
+ new

@@ -74,11 +74,12 @@ 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>" | + | "<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>" | + | "<p>http://mudasobwa.ru/i/self.jpg With caption<br/> <small><a href='http://wikipedia.ru'>Wiki</a></small> </p>" | "<p>http://mudasobwa.ru/i/self.jpg With caption<br/> <small><a href='http://wikipedia.ru'>Wiki</a></small> </p>" | Scenario Outline: Language recognition Given the input string is <input> When input string language is determined Then the language should equal to <output> @@ -96,5 +97,43 @@ Examples: | input | output | | "Here 'you' go." | "Here “you” go." | | "Тут 'русский' язык." | "Тут «русский» язык." | + Scenario Outline: Section pick-up + Given the input string is <input> + When input string is processed with Typogrowl’s typography parser with section "quotes" + Then the typoed result should equal to <output> + + Examples: + | input | output | + | "Here 'you' - go." | "Here “you” - go." | + | "Тут 'русский' --- язык." | "Тут «русский» --- язык." | + + Scenario Outline: Predefined shadows + Given the input string is <input> + When input string is processed with Typogrowl’s typography parser + Then the typoed result should equal to <output> + + Examples: + | input | output | + | "This is λsystem.dllλ file." | "This is λsystem.dllλ file." | + | "This is ✓8:35✓ time." | "This is ✓8:35✓ time." | + + Scenario: Inplace tags + Given the input string is + """ + http://qipowl.herokuapp.com/images/owl.png + + ☞ Video embedded: + + http://www.youtube.com/watch?v=KFKxlYNfT_o + """ + When input string is processed with Typogrowl’s typography parser + Then the typoed result should equal to + """ + http://qipowl.herokuapp.com/images/owl.png + + ☞ Video embedded: + + http://www.youtube.com/watch?v=KFKxlYNfT_o + """