Skip to content

Commit

Permalink
Fix rubocop formatting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
lsegal committed Jan 22, 2019
1 parent 92c1f87 commit e2a520b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/code_objects/base_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit e2a520b

Please sign in to comment.