spec/spec_helper.rb in jbox-gitolite-1.1.11 vs spec/spec_helper.rb in jbox-gitolite-1.2.0
- old
+ new
@@ -1,7 +1,21 @@
+require 'rubygems'
+require 'spork'
require 'forgery'
require 'tmpdir'
require 'simplecov'
require 'simplecov-rcov'
SimpleCov.formatter = SimpleCov::Formatter::RcovFormatter
-SimpleCov.start 'rails'
+SimpleCov.start
+
+Spork.prefork do
+ # Loading more in this block will cause your tests to run faster. However,
+ # if you change any configuration or code from libraries loaded here, you'll
+ # need to restart spork for it take effect.
+
+end
+
+Spork.each_run do
+ # This code will be run each time you run your specs.
+
+end