Feature: Rosey Build V2 Background: Given I have the environment variables: | ROSEY_SOURCE | dist/site | | ROSEY_DEST | dist/translated_site | Scenario: Rosey builds from V2 locales Given I have a "dist/site/index.html" file with the content: """

Kiss From A Rose

""" And I have a "rosey/locales/em.json" file with the content: """ { "seal": { "value": "👄🌹" } } """ When I run my program with the flags: | build | Then I should see a selector 'title' in "dist/translated_site/index.html" with the attributes: | innerText | Redirecting... | And I should see a selector 'a' in "dist/translated_site/index.html" with the attributes: | href | /en/ | | innerText | Click here if you are not redirected. | And I should see a selector 'p' in "dist/translated_site/en/index.html" with the attributes: | data-rosey | seal | | innerText | Kiss From A Rose | And I should see a selector 'p' in "dist/translated_site/em/index.html" with the attributes: | data-rosey | seal | | innerText | 👄🌹 |