spec/spec_helper.rb in imw-0.2.7 vs spec/spec_helper.rb in imw-0.2.8
- old
+ new
@@ -1,12 +1,11 @@
IMW_ROOT_DIR = File.join(File.expand_path(File.dirname(__FILE__)), '..') unless defined? IMW_ROOT_DIR
IMW_SPEC_DIR = File.join(IMW_ROOT_DIR, 'spec') unless defined? IMW_SPEC_DIR
IMW_LIB_DIR = File.join(IMW_ROOT_DIR, 'lib') unless defined? IMW_LIB_DIR
$: << IMW_LIB_DIR
-require 'rubygems'
-require 'spec'
require 'imw'
+require 'spec'
Dir[File.dirname(__FILE__) + "/support/**/*.rb"].each { |path| require path }
module IMWTest
TMP_DIR = "/tmp/imwtest" unless defined?(TMP_DIR)