Sha256: 1a3afd1a533ed54afbefe0c28384c7da988baa81102ea3e682c002292e7fb967

Contents?: true

Size: 451 Bytes

Versions: 2

Compression:

Stored size: 451 Bytes

Contents

require 'rubygems'
require 'spec'

$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
SPEC_TMP_DIR = File.dirname(__FILE__) + "/tmp"
require 'spork'
require 'spork/runner.rb'
require 'spork/server.rb'
require 'stringio'

Spec::Runner.configure do |config|
  config.before(:each) do
    $test_stdout = StringIO.new
  end
  
  config.after(:each) do
    FileUtils.rm_rf(SPEC_TMP_DIR)
  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
timcharper-spork-0.4.4 spec/spec_helper.rb
spork-0.4.4 spec/spec_helper.rb