spec/spec_helper.rb in quality-measure-engine-0.1.1 vs spec/spec_helper.rb in quality-measure-engine-0.1.2
- old
+ new
@@ -1,15 +1,7 @@
-begin
- # Try to require the preresolved locked set of gems.
- require File.expand_path('../.bundle/environment', __FILE__)
-rescue LoadError
- # Fall back on doing an unlocked resolve at runtime.
- require "rubygems"
- require "bundler"
- Bundler.setup
-end
+require 'bundler/setup'
-Bundler.require(:default, :test)
-
PROJECT_ROOT = File.dirname(__FILE__) + '/../'
require PROJECT_ROOT + 'lib/quality-measure-engine'
+
+Bundler.require(:test)
\ No newline at end of file