spec/code_object: fix broken 'class method lookup' test
This commit is contained in:
parent
c5bc87bce3
commit
992c28e246
|
@ -260,8 +260,10 @@ RSpec.describe Pry::CodeObject do
|
|||
end
|
||||
|
||||
context "when looking up class methods of a named class" do
|
||||
class TestClass
|
||||
def self.class_method; end
|
||||
before do
|
||||
class TestClass
|
||||
def self.class_method; end
|
||||
end
|
||||
end
|
||||
|
||||
after { Object.remove_const(:TestClass) }
|
||||
|
|
Loading…
Reference in New Issue