features/data_magic.feature in data_magic-0.5 vs features/data_magic.feature in data_magic-0.6

- old
+ new

@@ -39,5 +39,27 @@ And the value for "paragraphs" should exist Scenario: Boolean values Then the value for "bool_true" should be true And the value for "bool_false" should be false + + Scenario: Reading multiple data segments + When I ask for the data for "other" + Then the value for "name" should be "Cheezy" + And the value for "address" should be "123 Main Street" + And the value for "email" should be "cheezy@example.com" + + Scenario: Reading from multiple yml files + When I load the file "another.yml" + And I ask for the data for "other_file" + Then the value for "name" should be "Sneezy" + And the value for "address" should be "555 Easy Money Drive" + And the value for "email" should be "sneezy@example.com" + + Scenario: Reading multiple entries from same file + When I load the file "another.yml" + And I ask for the data for "other_file" + Then the value for "name" should be "Sneezy" + When I ask for the data for "more_info" + Then the value for "name" should be "Wheezy" + And the value for "address" should be "999 Alergy Ave" + And the value for "email" should be "wheezy@example.com"