From 1166991d499d89643f0ef7c64fbbc359a6450a94 Mon Sep 17 00:00:00 2001 From: Sriram Venkatesh Date: Fri, 15 Nov 2013 14:07:39 +0100 Subject: [PATCH] New step: "record last edited at relative date" Thanks to @srizzling for getting this started in https://github.com/silverstripe/silverstripe-cms/pull/896 --- .../BehatExtension/Context/FixtureContext.php | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/src/SilverStripe/BehatExtension/Context/FixtureContext.php b/src/SilverStripe/BehatExtension/Context/FixtureContext.php index dd77356..cd85d07 100644 --- a/src/SilverStripe/BehatExtension/Context/FixtureContext.php +++ b/src/SilverStripe/BehatExtension/Context/FixtureContext.php @@ -420,6 +420,35 @@ class FixtureContext extends BehatContext } } + /** + * @Given /^(?:(an|a|the) )"(?[^"]*)" "(?[^"]*)" was (?(created|last edited)) "(?