diff --git a/src/spectator/harness.cr b/src/spectator/harness.cr index 27b2679..f865f4d 100644 --- a/src/spectator/harness.cr +++ b/src/spectator/harness.cr @@ -55,7 +55,7 @@ module Spectator private def self.with_harness previous = @@current begin - harness = new + @@current = harness = new yield harness ensure @@current = previous