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