silverstripe-framework/tests/cuke/step_definitions/db-fixture.rb
Ingo Schommer ea51802fec MINOR: Ensure that cuke can work with --dry-run (from r94819) (from r96772)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102401 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-12 03:20:39 +00:00

5 lines
192 B
Ruby

# Reset database
if $baseURL and $browser then
$browser.goto $baseURL + 'dev/tests/endsession'
$browser.goto $baseURL + 'dev/tests/startsession?fixture=sapphire/tests/Bare.yml&flush=1'
end