Sha256: 27c64d3517e5920ae323975ea716525e76d82344e418dc2595c6b341298e29af
Contents?: true
Size: 709 Bytes
Versions: 4
Compression:
Stored size: 709 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 'fynd' 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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
fynd-0.1.3 | spec/spec_helper.rb |
fynd-0.1.2 | spec/spec_helper.rb |
fynd-0.1.1 | spec/spec_helper.rb |
fynd-0.1.0 | spec/spec_helper.rb |