From 3c9c7f88beb4415a576085a651422c9458831b02 Mon Sep 17 00:00:00 2001 From: Michael Miller Date: Tue, 12 Jul 2022 22:32:09 -0600 Subject: [PATCH] Reenable test relying on doubles --- spec/matchers/equality_matcher_spec.cr | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/matchers/equality_matcher_spec.cr b/spec/matchers/equality_matcher_spec.cr index 397c82f..8e8a35f 100644 --- a/spec/matchers/equality_matcher_spec.cr +++ b/spec/matchers/equality_matcher_spec.cr @@ -26,9 +26,9 @@ Spectator.describe "eq matcher" do end end - xit "uses the == operator", pending: "Mock redesign" do + it "uses the == operator" do dbl = double(:fake) expect(42).to eq(dbl) - expect(dbl).to have_received(:==).with(42).once + expect(dbl).to have_received(:==).with(42) end end