spec/spec_helper.rb in configliere-0.4.8 vs spec/spec_helper.rb in configliere-0.4.10
- old
+ new
@@ -1,23 +1,8 @@
# encoding: UTF-8
-require 'rubygems'
-require 'spork'
+require 'rubygems' unless defined?(Gem)
require 'rspec'
-Spork.prefork do
- # Loading more in this block will cause your tests to run faster.
- # However, changes don't take effect until you restart spork.
+$LOAD_PATH.unshift(File.dirname(__FILE__))
+$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
- $LOAD_PATH.unshift(File.dirname(__FILE__))
- $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
-
- require 'configliere'
-
- RSpec.configure do |config|
- end
-end
-
-Spork.each_run do
- # This code will be run each time you run your specs.
-
-end
-
+require 'configliere'