Commit Graph

21 Commits

Author SHA1 Message Date
Jeffrey Guo
67eca1fcff assign one object to another
corrected name convention and sql issue
corrected grammar in description
2014-09-03 17:00:29 +12:00
Damian Mooyman
2520cb1bbf API Allow usage of assets with modified / created date specification 2014-04-15 09:25:32 +12:00
Ingo Schommer
e55c6bb22a Fixed key/value confusion on fixture label mapping 2014-03-30 23:02:57 +13:00
Ingo Schommer
0308dee0dc Merge pull request #23 from madmatt/pulls/TestSessionEnvironment
Update SilverStripeAwareInitializer to use new TestSessionEnvironment class
2014-02-09 18:47:13 +13:00
Matt
fe77d1dacb In stepCreateRecordWithTable, if a fixture already exists then update that record
rather than create a new, identical fixture.
2014-01-31 10:01:31 +13:00
Matt Peel
d9d0b4fa93 Fix FixtureContext::prepareAsset() assuming ParentID
In some cases, we want to create an asset that doesn't have a ParentID set. This
fix allows that to happen.
2014-01-07 09:22:49 +13:00
Ingo Schommer
fc6d1ac12b Fixed Behat+SS coding conventions 2013-11-15 17:38:37 +01:00
Sriram Venkatesh
1166991d49 New step: "record last edited at relative date"
Thanks to @srizzling for getting this started in
https://github.com/silverstripe/silverstripe-cms/pull/896
2013-11-15 14:09:24 +01:00
Ingo Schommer
7d48da31d4 Merge pull request #10 from srizzling/is620
Added delete state to step defination
2013-11-15 02:32:13 -08:00
Ingo Schommer
e7e5912f07 FIX: need to upper-case each word, not just first word
Thanks to @jthomerson
See https://github.com/silverstripe-labs/silverstripe-behat-extension/pull/5
2013-11-15 11:30:10 +01:00
Sriram Venkatesh
aea5357c23 Fixed up some formatting issues 2013-11-15 16:57:15 +13:00
Sriram Venkatesh
6b7f5f8d3c Added delete state to step defination 2013-11-15 16:15:37 +13:00
Ingo Schommer
7e37cc8e00 New "there should be a file" step 2013-10-23 21:27:54 +02:00
Ingo Schommer
a244986495 "go to <named record>" behat step definition 2013-10-21 13:19:46 +02:00
Ingo Schommer
f89879836a Step def for "record has the <field> <value>" 2013-09-14 19:20:58 +02:00
Ingo Schommer
0e0c601a4a FixtureContext 5.3.8 compat (wrong usage of is_a()) 2013-07-11 16:00:19 +02:00
Ingo Schommer
aab86a6b08 More verbose fixture step definitions
Too many clashes with other steps otherwise,
e.g. with 'And the preview contains "You can fill"'
2013-06-05 14:17:28 +02:00
Ingo Schommer
1eed512b7d Member and Group fixture support 2013-06-05 13:34:45 +02:00
Ingo Schommer
8418bea0f8 Step transformations rather than special case step overrides 2013-06-05 13:34:45 +02:00
Ingo Schommer
fd9e84006f Use FixtureFactory for YAML, move helpers to FixtureContext, consistently create assets 2013-06-05 13:34:45 +02:00
Ingo Schommer
30ece1347f NEW FixtureContext (#2) 2013-06-05 13:34:42 +02:00