Don't force previous_def on class methods

This commit is contained in:
Michael Miller 2020-02-10 17:46:36 -07:00
parent d30e65ee2d
commit a7db9ff0bb

View file

@ -40,7 +40,6 @@ module Spectator::Mocks
:super
end.id
receiver = if receiver == :self.id
original = :previous_def.id
"self."
else
""