Feature: Rosey Generate Complex Background: Given I have the environment variables: | ROSEY_SOURCE | dist/site | | ROSEY_DEST | dist/translated_site | Scenario: Rosey generate includes whitespace Given I have a "dist/site/index.html" file with the content: """
Kiss From A Rose
""" When I run my program with the flags: | generate | Then I should see "rosey/base.json" containing the values: | version | int:2 | | keys.seal.original | \nKiss From A Rose\n | Scenario: Rosey generate includes HTML Given I have a "dist/site/index.html" file with the content: """Kiss From A Rose
Kiss From A Rose
| Scenario: Rosey generate includes utf8 Given I have a "dist/site/index.html" file with the content: """ðŸ¦
𓀞𓂗𓃛𓄫𓋟
""" When I run my program with the flags: | generate | Then I should see "rosey/base.json" containing the values: | version | int:2 | | keys.seal.original | 🦠| | keys.e.original | 𓀞𓂗𓃛𓄫𓋟 | Scenario: Rosey generate includes utf8 keys Given I have a "dist/site/index.html" file with the content: """seal
e
""" When I run my program with the flags: | generate | Then I should see "rosey/base.json" containing the values: | version | int:2 | | keys.ðŸ¦.original | seal | | keys.𓀞𓂗𓃛𓄫𓋟.original | e |