spec/spec_helper.rb in randomizer-0.0.1 vs spec/spec_helper.rb in randomizer-0.0.2
- old
+ new
@@ -1,10 +1,9 @@
-begin
- require 'spec'
-rescue LoadError
- require 'rubygems' unless ENV['NO_RUBYGEMS']
- gem 'rspec'
- require 'spec'
-end
-
-$:.unshift(File.dirname(__FILE__) + '/../lib')
+$LOAD_PATH.unshift(File.dirname(__FILE__))
+$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
require 'randomizer'
+require 'spec'
+require 'spec/autorun'
+
+Spec::Runner.configure do |config|
+
+end