Sha256: 754d32fb15c2e5eb69c17761d4625e4fe714642533e0e57959d747f7a5d4828f

Contents?: true

Size: 715 Bytes

Versions: 3

Compression:

Stored size: 715 Bytes

Contents

require 'rubygems'
require 'spork'

Spork.prefork do
  $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
  $LOAD_PATH.unshift(File.dirname(__FILE__))
  require 'bundler'
  Bundler.require

  require 'rspec'
  require 'timecop'
  # require 'fakefs'
  require 'fileutils'
  
  require 'woodchuck'
  
  RSpec.configure do |config|
    config.before do
      Timecop.freeze
      # FakeFS.activate!
    end
    config.after do
      Timecop.return
      # FakeFS.deactivate!
    end
  end
end

Spork.each_run do
  # This code will be run each time you run your specs.
  Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}

end

# Crash loud in tests!
Thread.abort_on_exception = true

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
woodchuck-json-event-0.0.2 spec/spec_helper.rb
woodchuck-json-event-0.0.1 spec/spec_helper.rb
woodchuck-0.0.1 spec/spec_helper.rb