Feature: Rosey Generate AutoID Background: Given I have the environment variables: | ROSEY_SOURCE | dist/site | | ROSEY_DEST | dist/translated_site | Scenario: Rosey generate creates a hash id if none supplied Given I have a "dist/site/index.html" file with the content: """

rose!

""" When I run my program with the flags: | generate | Then I should see "rosey/base.json" containing the values: | version | int:2 | | keys.GtSzGc6Rr44nj796fYIRTDxQNRua2jzNIeF2qU3kpFI.original | rose! | Scenario: Rosey generate creates a hash id from complex input 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.9s5+3OQ6KpQAUqk+khpX4zXwBHgihsHSQblgDfFZ7Bg.original | \n\n | Scenario: Rosey generate creates a hash id with correct roots 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.root:9s5+3OQ6KpQAUqk+khpX4zXwBHgihsHSQblgDfFZ7Bg.original | \n\n | Scenario: Rosey generate creates a hash id with correct namespaces 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.namespace:9s5+3OQ6KpQAUqk+khpX4zXwBHgihsHSQblgDfFZ7Bg.original | \n\n |