mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Remove old files
This commit is contained in:
parent
c458a490bf
commit
bff2668ad4
2 changed files with 0 additions and 21 deletions
|
@ -1,17 +0,0 @@
|
||||||
require "../double"
|
|
||||||
|
|
||||||
module Spectator::DSL
|
|
||||||
# Creates instances of doubles from a specified type.
|
|
||||||
class DoubleFactory
|
|
||||||
# Creates the factory.
|
|
||||||
# The type passed to this constructor must be a double.
|
|
||||||
def initialize(@double_type : Double.class)
|
|
||||||
end
|
|
||||||
|
|
||||||
# Constructs a new double instance and returns it.
|
|
||||||
# The *sample_values* are passed to `Double#initialize`.
|
|
||||||
def build(sample_values : Internals::SampleValues) : Double
|
|
||||||
@double_type.new
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
|
|
@ -1,4 +0,0 @@
|
||||||
module Spectator::DSL
|
|
||||||
module MockDSL
|
|
||||||
end
|
|
||||||
end
|
|
Loading…
Reference in a new issue