silverstripe-framework/tests/cuke/step_definitions/db-fixture.rb

4 lines
155 B
Ruby
Raw Normal View History

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