From a7db9ff0bb698513c9c5710b90ba1c819a1434ee Mon Sep 17 00:00:00 2001 From: Michael Miller Date: Mon, 10 Feb 2020 17:46:36 -0700 Subject: [PATCH] Don't force previous_def on class methods --- src/spectator/mocks/stubs.cr | 1 - 1 file changed, 1 deletion(-) diff --git a/src/spectator/mocks/stubs.cr b/src/spectator/mocks/stubs.cr index 00677f8..04b8e10 100644 --- a/src/spectator/mocks/stubs.cr +++ b/src/spectator/mocks/stubs.cr @@ -40,7 +40,6 @@ module Spectator::Mocks :super end.id receiver = if receiver == :self.id - original = :previous_def.id "self." else ""