From e2a520ba895baa60136ae3b8531499e7b718aad3 Mon Sep 17 00:00:00 2001 From: Loren Segal Date: Mon, 21 Jan 2019 16:04:35 -0800 Subject: [PATCH] Fix rubocop formatting issues --- spec/code_objects/base_spec.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/code_objects/base_spec.rb b/spec/code_objects/base_spec.rb index d7cf053cf..d10109d81 100644 --- a/spec/code_objects/base_spec.rb +++ b/spec/code_objects/base_spec.rb @@ -125,9 +125,9 @@ it "removes prior defined objects at the same path from namespace's children" do Registry.clear obj = ModuleObject.new(:root, :YARD) - const = ConstantObject.new(obj, :Testing) - klass = ClassObject.new(obj, :Testing) - expect(obj.children.map {|o| o.type }).to eq [:class] + ConstantObject.new(obj, :Testing) + ClassObject.new(obj, :Testing) + expect(obj.children.map {|o| o.type.to_sym }).to eq [:class] expect(Registry.at('YARD::Testing').type).to eq :class end