Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

11 lines (10 sloc) 0.373 kB
# Include hook code here
unless ARGV.grep(/^CUCUMBER_SLICER=(.+)/).blank?
if RAILS_ENV == 'test'
require 'cucumber_slicer'
feature = $1
# prepare db connection
ActiveRecord::Base.configurations['test']['adapter'] = "sqlite3"
ActiveRecord::Base.configurations['test']['database'] = Cucumber::Rake::Slicer.test_db_path(File.basename(feature))
end
end
Jump to Line
Something went wrong with that request. Please try again.