spec/spec_helper.rb in enigma-0.0.1 vs spec/spec_helper.rb in enigma-0.0.3
- old
+ new
@@ -1,10 +1,10 @@
-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 'enigma'
+require 'sinatra/base'
+require 'rspec'
+require File.dirname(__FILE__) + '/rack_test_client'
+
+RSpec.configure do |config|
+
+end