features/data_magic.feature in data_magic-0.19 vs features/data_magic.feature in data_magic-0.20

- old
+ new

@@ -35,12 +35,12 @@ And the value for "domain_name" should be 1 word long And the value for "user_name" should be 1 word long And the value for "url" should include "http://" Scenario: Getting a phone number - Then the value for "phone" should be 1 word long - And the value for "cell" should be 1 word long + Then the value for "phone" should be a phone number + And the value for "cell" should be a phone number Scenario: Random phrases Then the value for "catch_phrase" should exist And the value for "words" should exist And the value for "sentence" should exist @@ -112,5 +112,13 @@ Then the value for "day_abbr" should be a valid day abbreviation Scenario: It should allow one to add new translator methods When I add the blah translator Then the value for "blah" should be "foobar" + + Scenario: Getting values from nested entries + Then the nested value for this is_nested should be "Nested Value" + + Scenario: Should be able to call the translator methods on DataMagic module + Then I should be able to call the full_name translator + And I should be able to call the state translator + And I should be able to call the today translator