mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Use new mock DSL
This commit is contained in:
parent
678f85eac1
commit
2bb9fe8dcd
10 changed files with 19 additions and 19 deletions
|
@ -1,7 +1,7 @@
|
|||
require "../spec_helper"
|
||||
|
||||
Spectator.describe "GitHub Issue #44" do
|
||||
inject_mock Process do
|
||||
mock! Process do
|
||||
# Instance variable that can be nil, provide a default.
|
||||
@process_info = Crystal::System::Process.new(0)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue