mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
The #is_expected macro must be in example for visibility in #it
This commit is contained in:
parent
b1d70453cf
commit
aeb09b4e0d
2 changed files with 4 additions and 4 deletions
|
@ -70,10 +70,6 @@ module Spectator
|
|||
end
|
||||
end
|
||||
|
||||
macro is_expected
|
||||
expect(subject)
|
||||
end
|
||||
|
||||
def before_all
|
||||
raise NotImplementedError.new("Spectator::DSL#before_all")
|
||||
end
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
module Spectator
|
||||
abstract class Example
|
||||
macro is_expected
|
||||
expect(subject)
|
||||
end
|
||||
|
||||
abstract def run
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue