Remove problematic test and use be_a

This commit is contained in:
Michael Miller 2022-05-27 21:45:01 -06:00
parent 959139b1ee
commit fa89fa5550
No known key found for this signature in database
GPG key ID: AC78B32D30CE34A2

View file

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