spec/spec_helper.rb in danger-spec_postfix-0.0.1 vs spec/spec_helper.rb in danger-spec_postfix-0.0.2
- old
+ new
@@ -1,10 +1,10 @@
# frozen_string_literal: true
require 'pathname'
ROOT = Pathname.new(File.expand_path('..', __dir__))
-$:.unshift("#{ROOT}lib")
-$:.unshift("#{ROOT}spec")
+$LOAD_PATH.unshift("#{ROOT}lib")
+$LOAD_PATH.unshift("#{ROOT}spec")
require 'bundler/setup'
require 'pry'
require 'rspec'