spec/spec_helper.rb in danger-reek-0.1.2 vs spec/spec_helper.rb in danger-reek-0.2.0
- old
+ new
@@ -1,6 +1,6 @@
require 'pathname'
-ROOT = Pathname.new(File.expand_path('../../', __FILE__))
+ROOT = Pathname.new(File.expand_path('..', __dir__))
$:.unshift((ROOT + 'lib').to_s)
$:.unshift((ROOT + 'spec').to_s)
require 'simplecov'
SimpleCov.start