Sha256: 6b19deb4a9a702d898c37e3ca54038b49c28fcbc7980637837cfda71d9155a6b
Contents?: true
Size: 1.06 KB
Versions: 18
Compression:
Stored size: 1.06 KB
Contents
require 'rubygems' require 'spork' $LOAD_PATH.unshift(File.dirname(__FILE__)) $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib', 'epitools')) $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) p $: 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. require 'rspec' require 'epitools' Rspec.configure do |c| c.mock_with :rspec end end Spork.each_run do # This code will be run each time you run your specs. end # --- Instructions --- # - Sort through your spec_helper file. Place as much environment loading # code that you don't normally modify during development in the # Spork.prefork block. # - Place the rest under Spork.each_run block # - Any code that is left outside of the blocks will be ran during preforking # and during each_run! # - These instructions should self-destruct in 10 seconds. If they don't, # feel free to delete them. #
Version data entries
18 entries across 18 versions & 1 rubygems