silverstripe-framework/tests/cuke/step_definitions/db-fixture.rb
Sean Harvey 8b0a41d60d MINOR: Added db-fixture creation for cucumber-based testing (from r94528)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@95619 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-12-16 05:42:35 +00: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'