spec/spec_helper.rb in sinatra_warden-0.1.5 vs spec/spec_helper.rb in sinatra_warden-0.1.5.1
- old
+ new
@@ -1,11 +1,9 @@
+Bundler.require(:default, :runtime, :test)
$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
ENV['RACK_ENV'] ||= 'test'
-project_root = File.expand_path(File.dirname(__FILE__))
-require File.join(project_root, '..', 'vendor', 'gems', 'environment')
-Bundler.require_env(:testing)
require 'sinatra_warden'
require 'spec'
require 'spec/autorun'