mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Reenable test relying on doubles
This commit is contained in:
parent
2e5f822e1d
commit
3c9c7f88be
1 changed files with 2 additions and 2 deletions
|
@ -26,9 +26,9 @@ Spectator.describe "eq matcher" do
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
xit "uses the == operator", pending: "Mock redesign" do
|
it "uses the == operator" do
|
||||||
dbl = double(:fake)
|
dbl = double(:fake)
|
||||||
expect(42).to eq(dbl)
|
expect(42).to eq(dbl)
|
||||||
expect(dbl).to have_received(:==).with(42).once
|
expect(dbl).to have_received(:==).with(42)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue