spec/spec_helper.rb in in_threads-0.0.3 vs spec/spec_helper.rb in in_threads-0.0.4
- old
+ new
@@ -1,10 +1,3 @@
-begin
- require 'spec'
-rescue LoadError
- require 'rubygems'
- gem 'rspec'
- require 'spec'
-end
-
-$:.unshift(File.dirname(__FILE__) + '/../lib')
+$:.unshift File.join(File.dirname(__FILE__), '..', 'lib')
+require 'rspec'
require 'in_threads'