Reenable test relying on doubles

This commit is contained in:
Michael Miller 2022-07-12 22:32:09 -06:00
parent 2e5f822e1d
commit 3c9c7f88be
No known key found for this signature in database
GPG Key ID: 32B47AE8F388A1FF
1 changed files with 2 additions and 2 deletions

View File

@ -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