mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Add dummy instance values
This commit is contained in:
parent
b5edb1e9f3
commit
191eb02cbe
5 changed files with 24 additions and 0 deletions
|
@ -5,6 +5,11 @@ class ErroredExample < Spectator::RunnableExample
|
|||
"ERROR"
|
||||
end
|
||||
|
||||
# Dummy instance.
|
||||
def instance
|
||||
nil
|
||||
end
|
||||
|
||||
# Run the example that always produces an error.
|
||||
private def run_instance
|
||||
raise "Oops"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue