spec/spec_helper.rb in netsuite-0.8.3 vs spec/spec_helper.rb in netsuite-0.8.4
- old
+ new
@@ -1,17 +1,18 @@
$LOAD_PATH.unshift(File.expand_path(File.join(File.dirname(__FILE__), '..') ))
+require "rubygems"
+require "bundler/setup"
+
+Bundler.require
+
# https://circleci.com/docs/code-coverage
if ENV['CIRCLE_ARTIFACTS']
require 'simplecov'
dir = File.join("../../../..", ENV['CIRCLE_ARTIFACTS'], "coverage")
SimpleCov.coverage_dir(dir)
SimpleCov.start
end
-
-require 'rspec'
-require 'netsuite'
-require 'pry'
# Requires supporting ruby files with custom matchers and macros, etc,
# in spec/support/ and its subdirectories.
Dir['spec/support/**/*.rb'].each { |f| require f }