mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Rename OpenMock to Allow
This commit is contained in:
parent
0698ed655d
commit
8262bb0316
2 changed files with 2 additions and 2 deletions
|
@ -36,7 +36,7 @@ module Spectator::DSL
|
|||
end
|
||||
|
||||
def allow(double : ::Spectator::Mocks::Double)
|
||||
Mocks::OpenMock.new(double)
|
||||
Mocks::Allow.new(double)
|
||||
end
|
||||
|
||||
macro receive(method_name, _source_file = __FILE__, _source_line = __LINE__)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
module Spectator::Mocks
|
||||
struct OpenMock
|
||||
struct Allow
|
||||
def initialize(@mock : Double)
|
||||
end
|
||||
|
Loading…
Reference in a new issue