mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Remove problematic test and use be_a
This commit is contained in:
parent
959139b1ee
commit
fa89fa5550
1 changed files with 1 additions and 5 deletions
|
@ -158,11 +158,7 @@ Spectator.describe Spectator::Mock do
|
|||
let(mock) { MockThing.new }
|
||||
|
||||
it "defines a sub-type of the mocked type" do
|
||||
expect(MockThing).to be_lt(Thing)
|
||||
end
|
||||
|
||||
xit "defines a struct", pending: "Crystal compiler bug" do
|
||||
expect(MockThing).to be_lt(::Value)
|
||||
expect(mock).to be_a(Thing)
|
||||
end
|
||||
|
||||
it "overrides responses from methods defined in the block" do
|
||||
|
|
Loading…
Reference in a new issue