silverstripe-framework/tests/cuke/step_definitions/db-fixture.rb
Sam Minnee e3543daeca MINOR: Added db-fixture creation for cucumber-based testing
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@94528 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:17:58 +13:00

4 lines
155 B
Ruby

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