mirror of
https://github.com/silverstripe/silverstripe-behat-extension
synced 2024-10-22 17:05:32 +02:00
DOC Update docs to reflect changes in CLI interaction (#282)
This commit is contained in:
parent
4c1654d63a
commit
975ff8dd81
@ -110,8 +110,8 @@ dependencies:
|
|||||||
browser: firefox
|
browser: firefox
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# Create database via dev/build
|
# Create database and flush cache
|
||||||
- framework/sake dev/build flush=1
|
- sake db:build --flush
|
||||||
|
|
||||||
test:
|
test:
|
||||||
override:
|
override:
|
||||||
|
@ -181,8 +181,8 @@ by placing it at the bottom of `themes/simple/templates/Layout/Page.ss`:
|
|||||||
```
|
```
|
||||||
|
|
||||||
You can try out this feature in your browser without Behat.
|
You can try out this feature in your browser without Behat.
|
||||||
Don't forget to rebuild the database (`dev/build`) and flush the
|
Don't forget to rebuild the database and flush the
|
||||||
template cache (`?flush=all`) first though. If its all looking good,
|
template cache (`sake db:build --flush`) first though. If its all looking good,
|
||||||
kick off another Behat run - it should pass now.
|
kick off another Behat run - it should pass now.
|
||||||
|
|
||||||
vendor/bin/behat @mysite
|
vendor/bin/behat @mysite
|
||||||
|
@ -691,7 +691,7 @@ class FixtureContext implements Context
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Adds an extension and runs dev/build?flush
|
* Adds an extension and visits /dev/build?flush
|
||||||
*
|
*
|
||||||
* @param $extension
|
* @param $extension
|
||||||
* @param $class
|
* @param $class
|
||||||
@ -704,7 +704,7 @@ class FixtureContext implements Context
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Adds an extension, but doesn't run dev/build afterwards. Will still run ?flush
|
* Adds an extension, but doesn't visit /dev/build afterwards. Will still run ?flush
|
||||||
*
|
*
|
||||||
* @param $extension
|
* @param $extension
|
||||||
* @param $class
|
* @param $class
|
||||||
|
Loading…
Reference in New Issue
Block a user