Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

17 lines (13 sloc) 0.319 kB
require 'spork'
Spork.prefork do
ENV['RAILS_ENV'] ||= 'test'
require File.expand_path(File.dirname(__FILE__) + '/../../config/environment')
require 'cucumber/rails'
Capybara.default_selector = :css
DatabaseCleaner.strategy = :truncation
end
Spork.each_run do
After do
DatabaseCleaner.clean
end
end
Jump to Line
Something went wrong with that request. Please try again.