More examples on versioned

This commit is contained in:
Ingo Schommer 2014-11-11 15:47:00 +13:00
parent a35636f6b0
commit 6a24609dab
1 changed files with 2 additions and 0 deletions

View File

@ -641,6 +641,8 @@ It's based on the `vendor/bin/behat -di @cms` output.
Given /^(?:(an|a|the) )"(?<type>[^"]+)" "(?<id>[^"]+)" is (?<state>[^"]*)$/
- Example: Given the "page" "Page 1" is not published
- Example: Given the "page" "Page 1" is published
- Example: Given the "page" "Page 1" is deleted
Given /^there are the following ([^\s]*) records$/
- Accepts YAML fixture definitions similar to the ones used in SilverStripe unit testing.