mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Update known issues to use new mock system
This commit is contained in:
parent
99fb47c6e9
commit
193a476679
3 changed files with 10 additions and 12 deletions
|
@ -25,13 +25,11 @@ class Sdk < SdkInterface
|
|||
end
|
||||
|
||||
Spectator.describe Example do
|
||||
# mock Sdk do
|
||||
# stub register_hook(name, &block)
|
||||
# end
|
||||
mock Sdk
|
||||
|
||||
describe "#configure" do
|
||||
xit "registers a block on configure", pending: "Mock redesign" do
|
||||
sdk = Sdk.new
|
||||
it "registers a block on configure" do
|
||||
sdk = mock(Sdk)
|
||||
example_class = Example.new(sdk)
|
||||
allow(sdk).to receive(register_hook())
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue