mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Remove or skip mock, double, and stub tests
This commit is contained in:
parent
0c7f72dc78
commit
b83c6b7b1e
10 changed files with 30 additions and 268 deletions
|
@ -25,12 +25,12 @@ class Sdk < SdkInterface
|
|||
end
|
||||
|
||||
Spectator.describe Example do
|
||||
mock Sdk do
|
||||
stub register_hook(name, &block)
|
||||
end
|
||||
# mock Sdk do
|
||||
# stub register_hook(name, &block)
|
||||
# end
|
||||
|
||||
describe "#configure" do
|
||||
it "registers a block on configure" do
|
||||
xit "registers a block on configure", pending: "Mock redesign" do
|
||||
sdk = Sdk.new
|
||||
example_class = Example.new(sdk)
|
||||
allow(sdk).to receive(register_hook())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue