From a35636f6b071bba4b7570d311ba75cc0936f7d4e Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Tue, 11 Nov 2014 13:31:35 +1300 Subject: [PATCH] Add relationship example to README --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b15daac..2db7c7c 100644 --- a/README.md +++ b/README.md @@ -652,7 +652,8 @@ It's based on the `vendor/bin/behat -di @cms` output. Given /^(?:(an|a|the) )"group" "(?[^"]+)" (?:(with|has)) permissions (?.*)$/ - Example: Given a "group" "Admin" with permissions "Access to 'Pages' section" and "Access to 'Files' section" - # SilverStripe\Cms\Test\Behaviour\FixtureContext::stepCreateGroupWithPermissions() + Given /^I assign (?:(an|a|the) )"(?[^"]+)" "(?[^"]+)" to (?:(an|a|the) )"(?[^"]+)" "(?[^"]+)"$/ + - Example: I assign the "TaxonomyTerm" "For customers" to the "Page" "Page1" ### Environment