silverstripe-framework/tests/cuke/step_definitions/db-fixture.rb
Sam Minnee d2d32dafa5 MINOR: Ensure that cuke can work with --dry-run (from r94819)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@96772 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:18:07 +13: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