spec/reek/tree_dresser_spec.rb in reek-3.4.0 vs spec/reek/tree_dresser_spec.rb in reek-3.4.1
- old
+ new
@@ -1,11 +1,11 @@
-require_relative '../../lib/reek/cli/silencer'
+require_lib 'reek/cli/silencer'
Reek::CLI::Silencer.silently do
require 'parser/ruby22'
end
require_relative '../spec_helper'
-require_relative '../../lib/reek/tree_dresser'
+require_lib 'reek/tree_dresser'
RSpec.describe Reek::TreeDresser do
let(:dresser) { described_class.new }
let(:sexp) do
Parser::Ruby22.parse('class Klazz; def meth(argument); argument.call_me; end; end')